From 085594d8fd51379afd94f9b89fcce05ecab02d8d Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 5 Apr 2019 14:51:56 +0200 Subject: dts: update to v5.1-rc3 Signed-off-by: Sascha Hauer --- dts/Bindings/i2c/i2c-wmt.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dts/Bindings/i2c/i2c-wmt.txt (limited to 'dts/Bindings/i2c/i2c-wmt.txt') diff --git a/dts/Bindings/i2c/i2c-wmt.txt b/dts/Bindings/i2c/i2c-wmt.txt new file mode 100644 index 0000000000..94a425eaa6 --- /dev/null +++ b/dts/Bindings/i2c/i2c-wmt.txt @@ -0,0 +1,24 @@ +* Wondermedia I2C Controller + +Required properties : + + - compatible : should be "wm,wm8505-i2c" + - reg : Offset and length of the register set for the device + - interrupts : where IRQ is the interrupt number + - clocks : phandle to the I2C clock source + +Optional properties : + + - clock-frequency : desired I2C bus clock frequency in Hz. + Valid values are 100000 and 400000. + Default to 100000 if not specified, or invalid value. + +Example : + + i2c_0: i2c@d8280000 { + compatible = "wm,wm8505-i2c"; + reg = <0xd8280000 0x1000>; + interrupts = <19>; + clocks = <&clki2c0>; + clock-frequency = <400000>; + }; -- cgit v1.2.3