ARM: dts: uniphier: add SD/MMC host controller nodes
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 18 Feb 2016 10:52:50 +0000 (19:52 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 28 Feb 2016 18:50:16 +0000 (03:50 +0900)
This host controller is available for all UniPhier SoCs.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
17 files changed:
arch/arm/dts/uniphier-ph1-ld4-ref.dts
arch/arm/dts/uniphier-ph1-ld4.dtsi
arch/arm/dts/uniphier-ph1-ld6b-ref.dts
arch/arm/dts/uniphier-ph1-pro4-ace.dts
arch/arm/dts/uniphier-ph1-pro4-ref.dts
arch/arm/dts/uniphier-ph1-pro4-sanji.dts
arch/arm/dts/uniphier-ph1-pro4.dtsi
arch/arm/dts/uniphier-ph1-pro5-4kbox.dts
arch/arm/dts/uniphier-ph1-pro5.dtsi
arch/arm/dts/uniphier-ph1-sld3-ref.dts
arch/arm/dts/uniphier-ph1-sld3.dtsi
arch/arm/dts/uniphier-ph1-sld8-ref.dts
arch/arm/dts/uniphier-ph1-sld8.dtsi
arch/arm/dts/uniphier-pinctrl.dtsi
arch/arm/dts/uniphier-proxstream2-gentil.dts
arch/arm/dts/uniphier-proxstream2-vodka.dts
arch/arm/dts/uniphier-proxstream2.dtsi

index f62916da39212c16326af52337dc2050a304e95c..d7b000796e1e6d7c5d8d0ffbb1f9b4a70be9806b 100644 (file)
        status = "okay";
 };
 
+&sd {
+       status = "okay";
+};
+
 &usb0 {
        status = "okay";
 };
index f13c6db271677858879fed25d70fabd6d2f39b31..5ae029ea97e5412fae0812a3d5ac38a91c3d41c9 100644 (file)
                clock-frequency = <100000>;
        };
 
+       sd: sdhc@5a400000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               reg = <0x5a400000 0x200>;
+               interrupts = <0 76 4>;
+               pinctrl-names = "default", "1.8v";
+               pinctrl-0 = <&pinctrl_sd>;
+               pinctrl-1 = <&pinctrl_sd_1v8>;
+               clocks = <&mio 0>;
+               bus-width = <4>;
+       };
+
+       emmc: sdhc@5a500000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               reg = <0x5a500000 0x200>;
+               interrupts = <0 78 4>;
+               pinctrl-names = "default", "1.8v";
+               pinctrl-0 = <&pinctrl_emmc>;
+               pinctrl-1 = <&pinctrl_emmc_1v8>;
+               clocks = <&mio 1>;
+               bus-width = <8>;
+               non-removable;
+       };
+
        usb0: usb@5a800100 {
                compatible = "socionext,uniphier-ehci", "generic-ehci";
                status = "disabled";
index dca408bb70f85f5ad05efa54b16f4ba4189df7a5..13a29fdfaa1a1531f1024296cdc8df7ab3c12a51 100644 (file)
        status = "okay";
 };
 
+&sd {
+       status = "okay";
+};
+
 &usb0 {
        status = "okay";
 };
index 6e741ea45bc3d69a33654f33536ed062bf2e58e2..37e0853365c0fef6f4473e83650084132b955062 100644 (file)
        status = "okay";
 };
 
+&sd {
+       status = "okay";
+};
+
 &usb0 {
        status = "okay";
 };
index 202a642a4d59fbe3175b26e3e1767be59cf267a6..07a9783357f5649dcca43502354e1a4d61d9487d 100644 (file)
        status = "okay";
 };
 
+&sd {
+       status = "okay";
+};
+
+&sd1 {
+       status = "okay";
+};
+
 &usb0 {
        status = "okay";
 };
index 91a71ef469da6e8f1bbfa759d5ff332e368b1421..1ca104212898e00f87a429500fa52004e88891dc 100644 (file)
        status = "okay";
 };
 
+&emmc {
+       status = "okay";
+};
+
 &usb0 {
        status = "okay";
 };
index 6637aeaa07b3a04422f5db3119ed4309597759b0..d5767b625214551a4d8f1c3dde76c4153a7aefc9 100644 (file)
                clock-frequency = <400000>;
        };
 
+       sd: sdhc@5a400000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               reg = <0x5a400000 0x200>;
+               interrupts = <0 76 4>;
+               pinctrl-names = "default", "1.8v";
+               pinctrl-0 = <&pinctrl_sd>;
+               pinctrl-1 = <&pinctrl_sd_1v8>;
+               clocks = <&mio 0>;
+               bus-width = <4>;
+       };
+
+       emmc: sdhc@5a500000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               reg = <0x5a500000 0x200>;
+               interrupts = <0 78 4>;
+               pinctrl-names = "default", "1.8v";
+               pinctrl-0 = <&pinctrl_emmc>;
+               pinctrl-1 = <&pinctrl_emmc_1v8>;
+               clocks = <&mio 1>;
+               bus-width = <8>;
+               non-removable;
+       };
+
+       sd1: sdhc@5a600000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               reg = <0x5a600000 0x200>;
+               interrupts = <0 85 4>;
+               pinctrl-names = "default", "1.8v";
+               pinctrl-0 = <&pinctrl_sd1>;
+               pinctrl-1 = <&pinctrl_sd1_1v8>;
+               clocks = <&mio 2>;
+               bus-width = <4>;
+       };
+
        usb2: usb@5a800100 {
                compatible = "socionext,uniphier-ehci", "generic-ehci";
                status = "disabled";
index 02a3362e74b082066c4b7e8fd3dc7aac21d5020c..cbdc3ebbffaeebfe1cd852a0da670c1d4d4f9886 100644 (file)
        status = "okay";
 };
 
+&emmc {
+       status = "okay";
+};
+
+&sd {
+       status = "okay";
+};
+
 /* for U-Boot only */
 / {
        soc {
index 67a435e913255668f6219ded5276fd2087aea62a..bd1b4b1b66f946028579c2f4286e3dfb6c0c5b33 100644 (file)
                clock-frequency = <400000>;
        };
 
+       emmc: sdhc@68400000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               reg = <0x68400000 0x800>;
+               interrupts = <0 78 4>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_emmc>;
+               clocks = <&mio 1>;
+               bus-width = <8>;
+               non-removable;
+       };
+
+       sd: sdhc@68800000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               reg = <0x68800000 0x800>;
+               interrupts = <0 76 4>;
+               pinctrl-names = "default", "1.8v";
+               pinctrl-0 = <&pinctrl_sd>;
+               pinctrl-1 = <&pinctrl_sd_1v8>;
+               clocks = <&mio 0>;
+               bus-width = <4>;
+       };
+
        usb0: usb@65a00000 {
                compatible = "socionext,uniphier-xhci", "generic-xhci";
                status = "disabled";
index ff17945e90996ce46054c39d8837900f13ee1e48..c7213c9ff4c49e48ede85602ca7599f4ef694151 100644 (file)
        status = "okay";
 };
 
+&sd {
+       status = "okay";
+};
+
 &usb0 {
        status = "okay";
 };
index 9a6ca575bd622e8dc2bdc8f49a7cab8d86b2c5ea..789713db12c1a812b87b5d2c1e525eddc99fac11 100644 (file)
                        clocks = <&sysctrl 10>, <&sysctrl 18>;
                };
 
+               emmc: sdhc@5a400000 {
+                       compatible = "socionext,uniphier-sdhc";
+                       status = "disabled";
+                       reg = <0x5a400000 0x200>;
+                       interrupts = <0 78 4>;
+                       clocks = <&mio 1>;
+                       bus-width = <8>;
+                       non-removable;
+               };
+
+               sd: sdhc@5a500000 {
+                       compatible = "socionext,uniphier-sdhc";
+                       status = "disabled";
+                       reg = <0x5a500000 0x200>;
+                       interrupts = <0 76 4>;
+                       clocks = <&mio 0>;
+                       bus-width = <4>;
+               };
+
                usb0: usb@5a800100 {
                        compatible = "socionext,uniphier-ehci", "generic-ehci";
                        status = "disabled";
index b5b6f65d3697d65667ffb0a6a9b18eae0d6fd357..ec5c5bdadca47dcef890790b7cc556040fda297a 100644 (file)
        status = "okay";
 };
 
+&sd {
+       status = "okay";
+};
+
 &usb0 {
        status = "okay";
 };
index 985848a027515c228bc8208deffc0191c1bc0c70..61e0b457818ff21ad0631f34932cf1a5a912aa6f 100644 (file)
                clock-frequency = <100000>;
        };
 
+       sd: sdhc@5a400000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               reg = <0x5a400000 0x200>;
+               interrupts = <0 76 4>;
+               pinctrl-names = "default", "1.8v";
+               pinctrl-0 = <&pinctrl_sd>;
+               pinctrl-1 = <&pinctrl_sd_1v8>;
+               clocks = <&mio 0>;
+               bus-width = <4>;
+       };
+
+       emmc: sdhc@5a500000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               interrupts = <0 78 4>;
+               reg = <0x5a500000 0x200>;
+               pinctrl-names = "default", "1.8v";
+               pinctrl-0 = <&pinctrl_emmc>;
+               pinctrl-1 = <&pinctrl_emmc_1v8>;
+               clocks = <&mio 1>;
+               bus-width = <8>;
+               non-removable;
+       };
+
        usb0: usb@5a800100 {
                compatible = "socionext,uniphier-ehci", "generic-ehci";
                status = "disabled";
index b1691d0679e7dd259b56853509e4c1ad2c44fedd..494139a05d7718a9d6078d45a5c3f2711cfc389e 100644 (file)
                function = "emmc";
        };
 
+       pinctrl_emmc_1v8: emmc_grp_1v8 {
+               groups = "emmc", "emmc_dat8";
+               function = "emmc";
+       };
+
        pinctrl_i2c0: i2c0_grp {
                groups = "i2c0";
                function = "i2c0";
                function = "sd";
        };
 
+       pinctrl_sd_1v8: sd_grp_1v8 {
+               groups = "sd";
+               function = "sd";
+       };
+
        pinctrl_sd1: sd1_grp {
                groups = "sd1";
                function = "sd1";
        };
 
+       pinctrl_sd1_1v8: sd1_grp_1v8 {
+               groups = "sd1";
+               function = "sd1";
+       };
+
        pinctrl_uart0: uart0_grp {
                groups = "uart0";
                function = "uart0";
index dc0def30fd4374cf5b0f1ca4dd7bb912a45acb50..c3551fe7fabad42c7de8fbb94f36f713d6b66ab8 100644 (file)
        status = "okay";
 };
 
+&emmc {
+       status = "okay";
+};
+
 &usb0 {
        status = "okay";
 };
index 3703ad36a5cef8454cf704909fa7d5fe9e7d7dcc..d61e0b6ff9fb286797031177e29027d3bfd326f9 100644 (file)
        status = "okay";
 };
 
+&emmc {
+       status = "okay";
+};
+
 &usb0 {
        status = "okay";
 };
index 21fad0cdee15fa996d31c02ec918c109c4b3a671..12968bdd17e2e4af4a7c253d3c44d44ea0ab0cf1 100644 (file)
                clock-frequency = <400000>;
        };
 
+       emmc: sdhc@5a000000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               reg = <0x5a000000 0x800>;
+               interrupts = <0 78 4>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_emmc>;
+               clocks = <&mio 1>;
+               bus-width = <8>;
+               non-removable;
+       };
+
+       sd: sdhc@5a400000 {
+               compatible = "socionext,uniphier-sdhc";
+               status = "disabled";
+               reg = <0x5a400000 0x800>;
+               interrupts = <0 76 4>;
+               pinctrl-names = "default", "1.8v";
+               pinctrl-0 = <&pinctrl_sd>;
+               pinctrl-1 = <&pinctrl_sd_1v8>;
+               clocks = <&mio 0>;
+               bus-width = <4>;
+       };
+
        usb0: usb@65a00000 {
                compatible = "socionext,uniphier-xhci", "generic-xhci";
                status = "disabled";