Explorar o código

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 %!s(int64=8) %!d(string=hai) anos
pai
achega
6822d7729e
Modificáronse 2 ficheiros con 3 adicións e 0 borrados
  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>;