From: Martin Blumenstingl Date: Sat, 17 Feb 2018 16:06:50 +0000 (+0100) Subject: ARM: dts: meson8b: add the I2C clocks X-Git-Tag: archive/raspbian/4.16.16-2+rpi1^2~67 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ec6bebc89e975497e122e565ad582caf3a0ad472;p=linux.git ARM: dts: meson8b: add the I2C clocks 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 Signed-off-by: Kevin Hilman Gbp-Pq: Topic features/armhf/meson8 Gbp-Pq: Name 0006-ARM-dts-meson8b-add-the-I2C-clocks.patch --- diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 1a7c16640ea..5f7841b2d16 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -250,6 +250,18 @@ 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>;