Skip to content

Commit

Permalink
ARM: bcm2835: Add the DDC I2C controller to the device tree.
Browse files Browse the repository at this point in the history
We need to use it for getting video modes over HDMI.

Signed-off-by: Eric Anholt <[email protected]>
Acked-by: Stephen Warren <[email protected]>
  • Loading branch information
anholt committed Oct 14, 2015
1 parent 1cd99ab commit 36de992
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/bcm2835-rpi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
clock-frequency = <100000>;
};

&i2c2 {
status = "okay";
};

&sdhci {
status = "okay";
bus-width = <4>;
Expand Down
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/bcm2835.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,16 @@
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>;
Expand Down

0 comments on commit 36de992

Please sign in to comment.