arm64: a37xx: dts: Add additional pinctrl definition
authorKen Ma <make@marvell.com>
Mon, 26 Mar 2018 07:55:58 +0000 (15:55 +0800)
committerStefan Roese <sr@denx.de>
Fri, 30 Mar 2018 10:52:48 +0000 (12:52 +0200)
Add mmc pins, pcie pins and sdio pins definition and do these pins'
configuration for DB board and espressobin board;
Add uart2 pins configuration for DB board.

Reviewed-on: http://vgitil04.il.marvell.com:8080/40914
Reviewed-by: Wilson Ding <dingwei@marvell.com>
Tested-by: Wilson Ding <dingwei@marvell.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Ken Ma <make@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-3720-db.dts
arch/arm/dts/armada-37xx.dtsi

index 5f06252e4e24a55207b0801bc3c6d9e643362675..88baf33f6bbdbf9872af639d5f962614e1b573e9 100644 (file)
 
 &sdhci0 {
        bus-width = <4>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&sdio_pins>;
        status = "okay";
 };
 
        mmc-ddr-1_8v;
        mmc-hs400-1_8v;
        marvell,pad-type = "fixed-1-8v";
+       pinctrl-names = "default";
+       pinctrl-0 = <&mmc_pins>;
        status = "okay";
 
        #address-cells = <1>;
index 75a22deb4a73456265d2b50abdd8368684883326..fab95bbc123ca9b7e664c3ed6465e77d26df0674 100644 (file)
                                        groups = "uart2";
                                        function = "uart";
                                };
+
+                               mmc_pins: mmc-pins {
+                                       groups = "emmc_nb";
+                                       function = "emmc";
+                               };
                        };
 
                        pinctrl_sb: pinctrl-sb@18800 {
                                        function = "mii";
                                };
 
+                               sdio_pins: sdio-pins {
+                                       groups = "sdio_sb";
+                                       function = "sdio";
+                               };
+
+                               pcie_pins: pcie-pins {
+                                       groups = "pcie1";
+                                       function = "pcie";
+                               };
                        };
 
                        usb3: usb@58000 {