瀏覽代碼

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 年之前
父節點
當前提交
6822d7729e
共有 2 個文件被更改,包括 3 次插入0 次删除
  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>;