ARM: dts: meson8b: add the I2C clocks
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 17 Feb 2018 16:06:50 +0000 (17:06 +0100)
committerKevin Hilman <khilman@baylibre.com>
Thu, 8 Mar 2018 01:14:04 +0000 (17:14 -0800)
Add the I2C clocks so the I2C busses can be used. The clock input is not
device specific (the AO I2C bus uses clk81 as input, while the two I2C
busses in CBUS have a separate "CLKID_I2C" gate, provided by the clock
controller.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson8b.dtsi

index 1a7c16640ea50acb571733096579bc44c0fd0302..5f7841b2d1633dc81dc9e76f6c4ad1a41ea5122d 100644 (file)
        clock-names = "core";
 };
 
+&i2c_AO {
+       clocks = <&clkc CLKID_CLK81>;
+};
+
+&i2c_A {
+       clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_B {
+       clocks = <&clkc CLKID_I2C>;
+};
+
 &L2 {
        arm,data-latency = <3 3 3>;
        arm,tag-latency = <2 2 2>;