ARM: dts: am437x-l4: fix compatible for cpsw switch dt node
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 1 Oct 2020 19:20:23 +0000 (22:20 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 11 Nov 2020 07:24:52 +0000 (09:24 +0200)
Fix compatible the new CPSW switchdev DT node to avoid probing of legacy
CPSW driver which fails:
[    2.781009] cpsw 4a100000.switch: invalid resource

Fixes: 7bf8f37aea82 ("ARM: dts: am437x-l4: add dt node for new cpsw switchdev driver")
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-l4.dtsi

index c220dc3..243e35f 100644 (file)
                        ranges = <0x0 0x100000 0x8000>;
 
                        mac_sw: switch@0 {
-                               compatible = "ti,am4372-cpsw","ti,cpsw-switch";
+                               compatible = "ti,am4372-cpsw-switch", "ti,cpsw-switch";
                                reg = <0x0 0x4000>;
                                ranges = <0 0 0x4000>;
                                clocks = <&cpsw_125mhz_gclk>, <&dpll_clksel_mac_clk>;