···23Required properties :45- - device_type : Should be "i2c"6 - reg : Offset and length of the register set for the device000078Recommended properties :910- - compatible : compatibility list with 2 entries, the first should11- be "fsl,CHIP-i2c" where CHIP is the name of a compatible processor,12- e.g. mpc8313, mpc8543, mpc8544, mpc5200 or mpc5200b. The second one13- should be "fsl-i2c".14 - interrupts : <a b> where a is the interrupt number and b is a15 field that represents an encoding of the sense and level16 information for the interrupt. This should be encoded based on···2324Examples :250000000000000000026 i2c@3d00 {27 #address-cells = <1>;28 #size-cells = <0>;29 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";30- cell-index = <0>;31 reg = <0x3d00 0x40>;32 interrupts = <2 15 0>;33 interrupt-parent = <&mpc5200_pic>;34 fsl,preserve-clocking;35 };36037 i2c@3100 {38 #address-cells = <1>;39 #size-cells = <0>;40- cell-index = <1>;41 compatible = "fsl,mpc8544-i2c", "fsl-i2c";42 reg = <0x3100 0x100>;43 interrupts = <43 2>;44 interrupt-parent = <&mpic>;45 clock-frequency = <400000>;46 };47-
···23Required properties :405 - reg : Offset and length of the register set for the device6+ - compatible : should be "fsl,CHIP-i2c" where CHIP is the name of a7+ compatible processor, e.g. mpc8313, mpc8543, mpc8544, mpc5121,8+ mpc5200 or mpc5200b. For the mpc5121, an additional node9+ "fsl,mpc5121-i2c-ctrl" is required as shown in the example below.1011Recommended properties :12000013 - interrupts : <a b> where a is the interrupt number and b is a14 field that represents an encoding of the sense and level15 information for the interrupt. This should be encoded based on···2425Examples :2627+ /* MPC5121 based board */28+ i2c@1740 {29+ #address-cells = <1>;30+ #size-cells = <0>;31+ compatible = "fsl,mpc5121-i2c", "fsl-i2c";32+ reg = <0x1740 0x20>;33+ interrupts = <11 0x8>;34+ interrupt-parent = <&ipic>;35+ clock-frequency = <100000>;36+ };37+38+ i2ccontrol@1760 {39+ compatible = "fsl,mpc5121-i2c-ctrl";40+ reg = <0x1760 0x8>;41+ };42+43+ /* MPC5200B based board */44 i2c@3d00 {45 #address-cells = <1>;46 #size-cells = <0>;47 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";048 reg = <0x3d00 0x40>;49 interrupts = <2 15 0>;50 interrupt-parent = <&mpc5200_pic>;51 fsl,preserve-clocking;52 };5354+ /* MPC8544 base board */55 i2c@3100 {56 #address-cells = <1>;57 #size-cells = <0>;058 compatible = "fsl,mpc8544-i2c", "fsl-i2c";59 reg = <0x3100 0x100>;60 interrupts = <43 2>;61 interrupt-parent = <&mpic>;62 clock-frequency = <400000>;63 };0
+3-4
drivers/i2c/busses/Kconfig
···419 instead.420421config I2C_MPC422- tristate "MPC107/824x/85xx/52xx/86xx"423 depends on PPC32424 help425 If you say yes to this option, support will be included for the426- built-in I2C interface on the MPC107/Tsi107/MPC8240/MPC8245 and427- MPC85xx/MPC8641 family processors. The driver may also work on 52xx428- family processors, though interrupts are known not to work.429430 This driver can also be built as a module. If so, the module431 will be called i2c-mpc.
···419 instead.420421config I2C_MPC422+ tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx"423 depends on PPC32424 help425 If you say yes to this option, support will be included for the426+ built-in I2C interface on the MPC107, Tsi107, MPC512x, MPC52xx,427+ MPC8240, MPC8245, MPC83xx, MPC85xx and MPC8641 family processors.0428429 This driver can also be built as a module. If so, the module430 will be called i2c-mpc.