]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: dts: fsl-ls2088a: add i2c node support
authorchuanhua han <chuanhua.han@nxp.com>
Mon, 22 Jul 2019 08:36:45 +0000 (16:36 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:36 +0000 (09:07 +0530)
One ls2088a, there are four I2C controllers. So add I2C nodes in dts
for ls2088a.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
arch/arm/dts/fsl-ls2080a.dtsi

index 5c0769bc99cb155f3c52346e64cea82bda830a33..99ed33af95b4534a8a0e4f4ff66987332d581cf9 100644 (file)
                      <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
        };
 
+       i2c0: i2c@2000000 {
+               status = "disabled";
+               compatible = "fsl,vf610-i2c";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               reg = <0x0 0x2000000 0x0 0x10000>;
+               interrupts = <0 34 0x4>; /* Level high type */
+       };
+
+       i2c1: i2c@2010000 {
+               status = "disabled";
+               compatible = "fsl,vf610-i2c";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               reg = <0x0 0x2010000 0x0 0x10000>;
+               interrupts = <0 34 0x4>; /* Level high type */
+       };
+
+       i2c2: i2c@2020000 {
+               status = "disabled";
+               compatible = "fsl,vf610-i2c";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               reg = <0x0 0x2020000 0x0 0x10000>;
+               interrupts = <0 35 0x4>; /* Level high type */
+       };
+
+       i2c3: i2c@2030000 {
+               status = "disabled";
+               compatible = "fsl,vf610-i2c";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               reg = <0x0 0x2030000 0x0 0x10000>;
+               interrupts = <0 35 0x4>; /* Level high type */
+       };
+
        dspi: dspi@2100000 {
                compatible = "fsl,vf610-dspi";
                #address-cells = <1>;