Explorar el Código

ARM: dts: k2g: Disable netcp by default

Disable netcp by default like all other peripherals in the dtsi file.
Enable the peripheral explicitly in the board specific dts file.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Cooper Jr., Franklin hace 8 años
padre
commit
42468c8b77
Se han modificado 2 ficheros con 5 adiciones y 0 borrados
  1. 4 0
      arch/arm/dts/keystone-k2g-evm.dts
  2. 1 0
      arch/arm/dts/keystone-k2g-netcp.dtsi

+ 4 - 0
arch/arm/dts/keystone-k2g-evm.dts

@@ -37,6 +37,10 @@
 	phy-handle = <&ethphy0>;
 };
 
+&netcp {
+	status = "okay";
+};
+
 &spi1 {
 	status = "okay";
 

+ 1 - 0
arch/arm/dts/keystone-k2g-netcp.dtsi

@@ -99,6 +99,7 @@ netcp: netcp@4000000 {
 	reg = <0x2620110 0x8>;
 	reg-names = "efuse";
 	compatible = "ti,netcp-1.0";
+	status = "disabled";
 	#address-cells = <1>;
 	#size-cells = <1>;
 	/* power-domains = <&k2g_pds K2G_DEV_NSS0>; */