Commit 8e8fe3ac authored by Jiakun Shuai's avatar Jiakun Shuai
Browse files

i2c: add phytium i2c driver DT binding docs

phytium inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8AXAT


CVE: NA

---------------------------------------------------------

Add Phytium i2c driver DT bindings documents.

Signed-off-by: default avatarJiakun Shuai <shuaijiakun1288@phytium.com.cn>
Signed-off-by: default avatarChen Baozi <chenbaozi@phytium.com.cn>
parent d67a9a26
Loading
Loading
Loading
Loading
+24 −0
Original line number Original line Diff line number Diff line
* Phytium I2C/SMBus controller

Required properties :

 - compatible : should be "phytium,i2c"
 - reg : Offset and length of the register set for the device
 - interrupts : <IRQ> where IRQ is the interrupt number.
 - clock-frequency : desired I2C bus clock frequency in Hz.

Optional properties:

 - interrupt-names: should be "smbus_alert" if SMBus alert
		    interrupt is supported.

Examples :

	i2c0: i2c@28011000 {
		compatible = "phytium,i2c";
		reg = <0x0 0x28011000 0x0 0x1000>;
		interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "smbus_alert";
		clocks = <&sysclk_48mhz>;
	};