]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: DTS: vybrid: Update vf.dtsi file to descibe more vf610 hardware
authorLukasz Majewski <lukma@denx.de>
Wed, 13 Feb 2019 21:46:46 +0000 (22:46 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:08 +0000 (20:30 +0200)
This patch allows moving vf610 based boards to a device tree and model.
Ported from Linux kernel - v4.20 (tag)

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Stefan Agner <stefan.agner@toradex.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/dts/vf.dtsi

index ad30059b9ab39a947bae3f6cdff9c74139acaf70..5e3b2c5b9dcfa2b061ba45da4f225a212b6bf0b6 100644 (file)
                spi1 = &dspi1;
                ehci0 = &ehci0;
                ehci1 = &ehci1;
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               i2c2 = &i2c2;
+               i2c3 = &i2c3;
        };
 
        soc {
                                status = "disabled";
                        };
 
+                       i2c0: i2c@40066000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,vf610-i2c";
+                               reg = <0x40066000 0x1000>;
+                               status = "disabled";
+                       };
+
+                       i2c1: i2c@40067000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,vf610-i2c";
+                               reg = <0x40067000 0x1000>;
+                               status = "disabled";
+                       };
+
                        iomuxc: iomuxc@40048000 {
                                compatible = "fsl,vf610-iomuxc";
                                reg = <0x40048000 0x1000>;
                                reg = <0x400b4000 0x800>;
                                status = "disabled";
                        };
+
+                       esdhc1: esdhc@400b2000 {
+                               compatible = "fsl,esdhc";
+                               reg = <0x400b2000 0x1000>;
+                               status = "disabled";
+                       };
+
+                       fec0: fec@400d0000 {
+                             compatible = "fsl,mvf600-fec";
+                             reg = <0x400d0000 0x1000>;
+                             status = "disabled";
+                       };
+
+                       fec1: fec@400d1000 {
+                             compatible = "fsl,mvf600-fec";
+                             reg = <0x400d1000 0x1000>;
+                             status = "disabled";
+                       };
+
+                       nfc: nand@400e0000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,vf610-nfc";
+                               reg = <0x400e0000 0x4000>;
+                               status = "disabled";
+                       };
+
+                       i2c2: i2c@400e6000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,vf610-i2c";
+                               reg = <0x400e6000 0x1000>;
+                               status = "disabled";
+                       };
+
+                       i2c3: i2c@400e7000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,vf610-i2c";
+                               reg = <0x400e7000 0x1000>;
+                               status = "disabled";
+                       };
                };
        };
 };