Path: blob/main/sys/contrib/device-tree/Bindings/i2c/i2c-lpc2k.txt
48375 views
NXP I2C controller for LPC2xxx/178x/18xx/43xx12Required properties:3- compatible: must be "nxp,lpc1788-i2c"4- reg: physical address and length of the device registers5- interrupts: a single interrupt specifier6- clocks: clock for the device7- #address-cells: should be <1>8- #size-cells: should be <0>910Optional properties:11- clock-frequency: the desired I2C bus clock frequency in Hz; in12absence of this property the default value is used (100 kHz).1314Example:15i2c0: i2c@400a1000 {16compatible = "nxp,lpc1788-i2c";17reg = <0x400a1000 0x1000>;18interrupts = <18>;19clocks = <&ccu1 CLK_APB1_I2C0>;20#address-cells = <1>;21#size-cells = <0>;22};2324&i2c0 {25clock-frequency = <400000>;2627lm75@48 {28compatible = "nxp,lm75";29reg = <0x48>;30};31};32333435