Răsfoiți Sursa

ramips: reference node by label

Reference the HC5661A sdhci node by label instead of by the full path.

Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin 7 ani în urmă
părinte
comite
2cc7980dcb
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      target/linux/ramips/dts/HC5661A.dts

+ 4 - 4
target/linux/ramips/dts/HC5661A.dts

@@ -22,10 +22,6 @@
 		reg = <0x0 0x8000000>;
 	};
 
-	sdhci@10130000 {
-		status = "okay";
-	};
-
 	gpio-leds {
 		compatible = "gpio-leds";
 
@@ -64,6 +60,10 @@
 	};
 };
 
+&sdhci {
+	status = "okay";
+};
+
 &spi0 {
 	status = "okay";