]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: bcm2835: Add the DDC I2C controller to the device tree.
authorEric Anholt <eric@anholt.net>
Fri, 9 Oct 2015 21:27:47 +0000 (14:27 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 23 Oct 2015 09:04:02 +0000 (10:04 +0100)
We need to use it for getting video modes over HDMI.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/boot/dts/bcm2835-rpi.dtsi
arch/arm/boot/dts/bcm2835.dtsi

index ab5474e5d1c80163061d1f0a69a472225be1e3bc..3572f0367baf2397a7f282a2574b2bbc76dc89d8 100644 (file)
        clock-frequency = <100000>;
 };
 
+&i2c2 {
+       status = "okay";
+};
+
 &sdhci {
        status = "okay";
        bus-width = <4>;
index 46804b3c43872edfa23abf0394427832e9036caa..aef64de77495b4be5867dc6ee0fcc9892bdcea7e 100644 (file)
                        status = "disabled";
                };
 
+               i2c2: i2c@7e805000 {
+                       compatible = "brcm,bcm2835-i2c";
+                       reg = <0x7e805000 0x1000>;
+                       interrupts = <2 21>;
+                       clocks = <&clocks BCM2835_CLOCK_VPU>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
                usb@7e980000 {
                        compatible = "brcm,bcm2835-usb";
                        reg = <0x7e980000 0x10000>;