Path: blob/master/Documentation/devicetree/bindings/i2c/i2c-altera.txt
26307 views
* Altera I2C Controller1* This is Altera's synthesizable logic block I2C Controller for use2* in Altera's FPGAs.34Required properties :5- compatible : should be "altr,softip-i2c-v1.0"6- reg : Offset and length of the register set for the device7- interrupts : <IRQ> where IRQ is the interrupt number.8- clocks : phandle to input clock.9- #address-cells = <1>;10- #size-cells = <0>;1112Recommended properties :13- clock-frequency : desired I2C bus clock frequency in Hz.1415Optional properties :16- fifo-size : Size of the RX and TX FIFOs in bytes.17- Child nodes conforming to i2c bus binding1819Example :2021i2c@100080000 {22compatible = "altr,softip-i2c-v1.0";23reg = <0x00000001 0x00080000 0x00000040>;24interrupt-parent = <&intc>;25interrupts = <0 43 4>;26clocks = <&clk_0>;27clock-frequency = <100000>;28#address-cells = <1>;29#size-cells = <0>;30fifo-size = <4>;3132eeprom@51 {33compatible = "atmel,24c32";34reg = <0x51>;35pagesize = <32>;36};37};38394041