From: Simon Horman <horms+renesas@verge.net.au> To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm <magnus.damm@gmail.com>, Biju Das <biju.das@bp.renesas.com>, Simon Horman <horms+renesas@verge.net.au> Subject: [PATCH 10/48] ARM: dts: iwg20d-q7: Add SDHI1 support Date: Fri, 29 Sep 2017 13:53:02 +0200 [thread overview] Message-ID: <029efb3a03c5039902a6f1cfe266ed664cb97f20.1506683482.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1506683482.git.horms+renesas@verge.net.au> From: Biju Das <biju.das@bp.renesas.com> Define the iWave RainboW-G20D-Qseven board dependent part of the SDHI1 device node. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts index 081af0192851..4ff27d23ecf0 100644 --- a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts +++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts @@ -19,6 +19,29 @@ serial0 = &scif0; ethernet0 = &avb; }; + + vcc_sdhi1: regulator-vcc-sdhi1 { + compatible = "regulator-fixed"; + + regulator-name = "SDHI1 Vcc"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&gpio1 16 GPIO_ACTIVE_LOW>; + }; + + vccq_sdhi1: regulator-vccq-sdhi1 { + compatible = "regulator-gpio"; + + regulator-name = "SDHI1 VccQ"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + + gpios = <&gpio2 30 GPIO_ACTIVE_LOW>; + gpios-states = <1>; + states = <3300000 1 + 1800000 0>; + }; }; &pfc { @@ -31,6 +54,18 @@ groups = "avb_mdio", "avb_gmii"; function = "avb"; }; + + sdhi1_pins: sd1 { + groups = "sdhi1_data4", "sdhi1_ctrl"; + function = "sdhi1"; + power-source = <3300>; + }; + + sdhi1_pins_uhs: sd1_uhs { + groups = "sdhi1_data4", "sdhi1_ctrl"; + function = "sdhi1"; + power-source = <1800>; + }; }; &scif0 { @@ -54,3 +89,16 @@ micrel,led-mode = <1>; }; }; + +&sdhi1 { + pinctrl-0 = <&sdhi1_pins>; + pinctrl-1 = <&sdhi1_pins_uhs>; + pinctrl-names = "default", "state_uhs"; + + vmmc-supply = <&vcc_sdhi1>; + vqmmc-supply = <&vccq_sdhi1>; + cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; + sd-uhs-sdr50; + status = "okay"; +}; -- 2.1.4
WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 10/48] ARM: dts: iwg20d-q7: Add SDHI1 support Date: Fri, 29 Sep 2017 13:53:02 +0200 [thread overview] Message-ID: <029efb3a03c5039902a6f1cfe266ed664cb97f20.1506683482.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1506683482.git.horms+renesas@verge.net.au> From: Biju Das <biju.das@bp.renesas.com> Define the iWave RainboW-G20D-Qseven board dependent part of the SDHI1 device node. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts index 081af0192851..4ff27d23ecf0 100644 --- a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts +++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts @@ -19,6 +19,29 @@ serial0 = &scif0; ethernet0 = &avb; }; + + vcc_sdhi1: regulator-vcc-sdhi1 { + compatible = "regulator-fixed"; + + regulator-name = "SDHI1 Vcc"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&gpio1 16 GPIO_ACTIVE_LOW>; + }; + + vccq_sdhi1: regulator-vccq-sdhi1 { + compatible = "regulator-gpio"; + + regulator-name = "SDHI1 VccQ"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + + gpios = <&gpio2 30 GPIO_ACTIVE_LOW>; + gpios-states = <1>; + states = <3300000 1 + 1800000 0>; + }; }; &pfc { @@ -31,6 +54,18 @@ groups = "avb_mdio", "avb_gmii"; function = "avb"; }; + + sdhi1_pins: sd1 { + groups = "sdhi1_data4", "sdhi1_ctrl"; + function = "sdhi1"; + power-source = <3300>; + }; + + sdhi1_pins_uhs: sd1_uhs { + groups = "sdhi1_data4", "sdhi1_ctrl"; + function = "sdhi1"; + power-source = <1800>; + }; }; &scif0 { @@ -54,3 +89,16 @@ micrel,led-mode = <1>; }; }; + +&sdhi1 { + pinctrl-0 = <&sdhi1_pins>; + pinctrl-1 = <&sdhi1_pins_uhs>; + pinctrl-names = "default", "state_uhs"; + + vmmc-supply = <&vcc_sdhi1>; + vqmmc-supply = <&vccq_sdhi1>; + cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; + sd-uhs-sdr50; + status = "okay"; +}; -- 2.1.4
next prev parent reply other threads:[~2017-09-29 11:54 UTC|newest] Thread overview: 106+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-09-29 11:53 [GIT PULL] Renesas ARM Based SoC DT Updates for v4.15 Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:52 ` [PATCH 01/48] ARM: dts: r8a7790: Convert to new CPG/MSSR bindings Simon Horman 2017-09-29 11:52 ` Simon Horman 2017-09-29 11:52 ` [PATCH 02/48] ARM: dts: r8a7792: " Simon Horman 2017-09-29 11:52 ` Simon Horman 2017-09-29 11:52 ` [PATCH 03/48] ARM: dts: r8a7793: " Simon Horman 2017-09-29 11:52 ` Simon Horman 2017-09-29 11:52 ` [PATCH 04/48] ARM: dts: r8a7794: " Simon Horman 2017-09-29 11:52 ` Simon Horman 2017-09-29 11:52 ` [PATCH 05/48] ARM: dts: r8a7790: Stop grouping clocks under a "clocks" subnode Simon Horman 2017-09-29 11:52 ` Simon Horman 2017-09-29 11:52 ` [PATCH 06/48] ARM: dts: r8a7793: " Simon Horman 2017-09-29 11:52 ` Simon Horman 2017-09-29 11:52 ` [PATCH 07/48] ARM: dts: r8a7794: " Simon Horman 2017-09-29 11:52 ` Simon Horman 2017-09-29 11:53 ` [PATCH 08/48] ARM: dts: r8a7743: Add SDHI controllers Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 09/48] ARM: dts: iwg20m: Enable SDHI0 controller Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` Simon Horman [this message] 2017-09-29 11:53 ` [PATCH 10/48] ARM: dts: iwg20d-q7: Add SDHI1 support Simon Horman 2017-09-29 11:53 ` [PATCH 11/48] ARM: dts: r8a7745: Add GPIO support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 12/48] ARM: dts: iwg22m: Add iWave RZG1E SODIMM SOM Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 13/48] ARM: dts: iwg22d-sodimm: Add support for iWave G22D-SODIMM board Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 14/48] ARM: dts: r8a7745: Add I2C DT support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 15/48] ARM: dts: r8a7745: Add MMC interface support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 16/48] ARM: dts: iwg22m: Add eMMC support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 17/48] ARM: dts: iwg22m: Add RTC support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 18/48] ARM: dts: r8a7791: Convert to new CPG/MSSR bindings Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 19/48] ARM: dts: r8a7791: Stop grouping clocks under a "clocks" subnode Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 20/48] ARM: dts: gr-peach: Remove empty line Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 21/48] ARM: dts: gr-peach: Add SCIF2 pin group Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 22/48] ARM: dts: gr-peach: Add user led device nodes Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-30 10:36 ` Sergei Shtylyov 2017-09-30 10:36 ` Sergei Shtylyov 2017-10-01 17:36 ` jacopo mondi 2017-10-01 17:36 ` jacopo mondi 2017-10-02 7:15 ` Simon Horman 2017-10-02 7:15 ` Simon Horman 2017-09-29 11:53 ` [PATCH 23/48] ARM: dts: r8a7745: Add Ethernet AVB support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 24/48] ARM: dts: iwg20d-q7: Add chosen node Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 25/48] ARM: dts: iwg20d-q7: Add RTC support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 26/48] ARM: dts: iwg22d-sodimm: Add pinctl support for scif4 Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 27/48] ARM: dts: iwg22d-sodimm: Add Ethernet AVB support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 28/48] ARM: dts: r8a7743: Add internal PCI bridge nodes Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 29/48] ARM: dts: r8a7743: Add USB PHY DT support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 30/48] ARM: dts: r8a7743: Link PCI USB devices to USB PHY Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 31/48] ARM: dts: iwg20d-q7: Enable internal PCI Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 32/48] ARM: dts: iwg20d-q7: Enable USB PHY Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 33/48] ARM: dts: alt: use correct logic for SD WP pins Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 34/48] ARM: dts: r8a7743: Add IIC cores to dtsi Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 35/48] ARM: dts: r8a7790: Add reset control properties Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 36/48] ARM: dts: r8a7791: " Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 37/48] ARM: dts: r8a7792: " Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 38/48] ARM: dts: r8a7793: " Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 39/48] ARM: dts: r8a7794: " Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 40/48] ARM: dts: r8a7745: Add SDHI controllers Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 41/48] ARM: dts: iwg22m: Enable SDHI1 controller Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 42/48] ARM: dts: r8a7743: Add QSPI support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 43/48] ARM: dts: iwg20m: Add SPI NOR support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 44/48] ARM: dts: r8a7745: Add QSPI support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 45/48] ARM: dts: iwg22m: Add SPI NOR support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 46/48] ARM: dts: iwg22d: Enable SDHI0 controller Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 47/48] ARM: dts: r8a7745: Add MSIOF[012] support Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-09-29 11:53 ` [PATCH 48/48] ARM: dts: r8a7743: " Simon Horman 2017-09-29 11:53 ` Simon Horman 2017-10-19 21:43 ` [GIT PULL] Renesas ARM Based SoC DT Updates for v4.15 Arnd Bergmann 2017-10-19 21:43 ` Arnd Bergmann
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=029efb3a03c5039902a6f1cfe266ed664cb97f20.1506683482.git.horms+renesas@verge.net.au \ --to=horms+renesas@verge.net.au \ --cc=biju.das@bp.renesas.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=magnus.damm@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.