ramips: reference node by label
authorMathias Kresin <dev@kresin.me>
Fri, 31 Aug 2018 07:01:34 +0000 (09:01 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:51 +0000 (17:47 +0100)
Reference the HC5661A sdhci node by label instead of by the full path.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from 2cc7980dcb5261561de32b719ada919ca3882faa)

target/linux/ramips/dts/HC5661A.dts

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