Commit 40ad192f authored by Chris Packham's avatar Chris Packham Committed by Gregory CLEMENT

dt-bindings: marvell,prestera: Add common compatible string

Add "marvell,prestera" as a compatible string so that drivers can be
written to account for any prestera variant without needing to
specialise to the more specific values.
Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 06587702
...@@ -2,7 +2,7 @@ Marvell Prestera Switch Chip bindings ...@@ -2,7 +2,7 @@ Marvell Prestera Switch Chip bindings
------------------------------------- -------------------------------------
Required properties: Required properties:
- compatible: one of the following - compatible: must be "marvell,prestera" and one of the following
"marvell,prestera-98dx3236", "marvell,prestera-98dx3236",
"marvell,prestera-98dx3336", "marvell,prestera-98dx3336",
"marvell,prestera-98dx4251", "marvell,prestera-98dx4251",
...@@ -21,7 +21,7 @@ switch { ...@@ -21,7 +21,7 @@ switch {
ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>; ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>;
packet-processor@0 { packet-processor@0 {
compatible = "marvell,prestera-98dx3236"; compatible = "marvell,prestera-98dx3236", "marvell,prestera";
reg = <0 0x4000000>; reg = <0 0x4000000>;
interrupts = <33>, <34>, <35>; interrupts = <33>, <34>, <35>;
dfx = <&dfx>; dfx = <&dfx>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment