소스 검색

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>;