ramips: reference node by label
authorMathias Kresin <dev@kresin.me>
Fri, 31 Aug 2018 07:01:34 +0000 (09:01 +0200)
committerMathias Kresin <dev@kresin.me>
Thu, 6 Sep 2018 19:35:53 +0000 (21:35 +0200)
Reference the HC5661A sdhci node by label instead of by the full path.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/dts/HC5661A.dts

index 0d45fee..7541677 100644 (file)
                reg = <0x0 0x8000000>;
        };
 
-       sdhci@10130000 {
-               status = "okay";
-       };
-
        gpio-leds {
                compatible = "gpio-leds";
 
        };
 };
 
+&sdhci {
+       status = "okay";
+};
+
 &spi0 {
        status = "okay";