[U-Boot] [PATCH v4 27/30] ARM: dts: k2g: Disable netcp by default

Franklin S Cooper Jr fcooper at ti.com
Fri Jun 16 22:25:30 UTC 2017


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 at ti.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
---
 arch/arm/dts/keystone-k2g-evm.dts    | 4 ++++
 arch/arm/dts/keystone-k2g-netcp.dtsi | 1 +
 2 files changed, 5 insertions(+)

diff --git a/arch/arm/dts/keystone-k2g-evm.dts b/arch/arm/dts/keystone-k2g-evm.dts
index f6fce33..de208b3 100644
--- a/arch/arm/dts/keystone-k2g-evm.dts
+++ b/arch/arm/dts/keystone-k2g-evm.dts
@@ -37,6 +37,10 @@
 	phy-handle = <&ethphy0>;
 };
 
+&netcp {
+	status = "okay";
+};
+
 &spi1 {
 	status = "okay";
 
diff --git a/arch/arm/dts/keystone-k2g-netcp.dtsi b/arch/arm/dts/keystone-k2g-netcp.dtsi
index a9b26c3..d76f2a1 100644
--- a/arch/arm/dts/keystone-k2g-netcp.dtsi
+++ b/arch/arm/dts/keystone-k2g-netcp.dtsi
@@ -99,6 +99,7 @@ netcp: netcp at 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>; */
-- 
2.10.0



More information about the U-Boot mailing list