Browse Source

ARM: dts: NSP: disable i2c DT entry by default

The i2c device tree entry should be disabled by default to match the
current convention in other device tree files.  Similarily, enable it on
the XMC board, where it is being used.

Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Jon Mason 8 năm trước cách đây
mục cha
commit
6822d7729e
2 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 1 0
      arch/arm/boot/dts/bcm-nsp.dtsi
  2. 2 0
      arch/arm/boot/dts/bcm958525xmc.dts

+ 1 - 0
arch/arm/boot/dts/bcm-nsp.dtsi

@@ -361,6 +361,7 @@
 			#size-cells = <0>;
 			interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>;
 			clock-frequency = <100000>;
+			status = "disabled";
 		};
 
 		watchdog@39000 {

+ 2 - 0
arch/arm/boot/dts/bcm958525xmc.dts

@@ -70,6 +70,8 @@
 };
 
 &i2c0 {
+	status = "okay";
+
 	temperature-sensor@4c {
 		compatible = "adi,adt7461a";
 		reg = <0x4c>;