Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>

authored by

Chris Packham and committed by
Gregory CLEMENT
40ad192f 06587702

+2 -2
+2 -2
Documentation/devicetree/bindings/net/marvell,prestera.txt
··· 2 2 ------------------------------------- 3 3 4 4 Required properties: 5 - - compatible: one of the following 5 + - compatible: must be "marvell,prestera" and one of the following 6 6 "marvell,prestera-98dx3236", 7 7 "marvell,prestera-98dx3336", 8 8 "marvell,prestera-98dx4251", ··· 21 21 ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>; 22 22 23 23 packet-processor@0 { 24 - compatible = "marvell,prestera-98dx3236"; 24 + compatible = "marvell,prestera-98dx3236", "marvell,prestera"; 25 25 reg = <0 0x4000000>; 26 26 interrupts = <33>, <34>, <35>; 27 27 dfx = <&dfx>;