1 * Altera I2C Controller 1 * Altera I2C Controller 2 * This is Altera's synthesizable logic block I 2 * This is Altera's synthesizable logic block I2C Controller for use 3 * in Altera's FPGAs. 3 * in Altera's FPGAs. 4 4 5 Required properties : 5 Required properties : 6 - compatible : should be "altr,softip-i2c-v1. 6 - compatible : should be "altr,softip-i2c-v1.0" 7 - reg : Offset and length of the regis 7 - reg : Offset and length of the register set for the device 8 - interrupts : <IRQ> where IRQ is the interru 8 - interrupts : <IRQ> where IRQ is the interrupt number. 9 - clocks : phandle to input clock. 9 - clocks : phandle to input clock. 10 - #address-cells = <1>; 10 - #address-cells = <1>; 11 - #size-cells = <0>; 11 - #size-cells = <0>; 12 12 13 Recommended properties : 13 Recommended properties : 14 - clock-frequency : desired I2C bus clock fre 14 - clock-frequency : desired I2C bus clock frequency in Hz. 15 15 16 Optional properties : 16 Optional properties : 17 - fifo-size : Size of the RX and TX FIFOs in 17 - fifo-size : Size of the RX and TX FIFOs in bytes. 18 - Child nodes conforming to i2c bus binding 18 - Child nodes conforming to i2c bus binding 19 19 20 Example : 20 Example : 21 21 22 i2c@100080000 { 22 i2c@100080000 { 23 compatible = "altr,softip-i2c- 23 compatible = "altr,softip-i2c-v1.0"; 24 reg = <0x00000001 0x00080000 0 24 reg = <0x00000001 0x00080000 0x00000040>; 25 interrupt-parent = <&intc>; 25 interrupt-parent = <&intc>; 26 interrupts = <0 43 4>; 26 interrupts = <0 43 4>; 27 clocks = <&clk_0>; 27 clocks = <&clk_0>; 28 clock-frequency = <100000>; 28 clock-frequency = <100000>; 29 #address-cells = <1>; 29 #address-cells = <1>; 30 #size-cells = <0>; 30 #size-cells = <0>; 31 fifo-size = <4>; 31 fifo-size = <4>; 32 32 33 eeprom@51 { 33 eeprom@51 { 34 compatible = "atmel,24 34 compatible = "atmel,24c32"; 35 reg = <0x51>; 35 reg = <0x51>; 36 pagesize = <32>; 36 pagesize = <32>; 37 }; 37 }; 38 }; 38 }; 39 39
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.