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 5f06252..88baf33 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 75a22de..fab95bb 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 {