^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * NXP PNX I2C Controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - reg: Offset and length of the register set for the device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - compatible: should be "nxp,pnx-i2c"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - interrupts: configure one interrupt line
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - #address-cells: always 1 (for i2c addresses)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - #size-cells: always 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - clock-frequency: desired I2C bus clock frequency in Hz, Default: 100000 Hz
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) i2c1: i2c@400a0000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) compatible = "nxp,pnx-i2c";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) reg = <0x400a0000 0x100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) interrupt-parent = <&mic>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) interrupts = <51 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) i2c2: i2c@400a8000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) compatible = "nxp,pnx-i2c";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) reg = <0x400a8000 0x100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) interrupt-parent = <&mic>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) interrupts = <50 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) clock-frequency = <100000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) };