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>, Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>, Simon Horman <horms+renesas@verge.net.au> Subject: [PATCH 28/41] ARM: dts: blanche: add Ethernet support Date: Thu, 30 Jun 2016 16:15:48 +0200 [thread overview] Message-ID: <f80b6dfd5e56f3908832ce89f96ae94352b616c2.1467294011.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1467294011.git.horms+renesas@verge.net.au> From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> R8A7792 SoC doesn't have the EtherMAC core, so SMSC LAN89218 Ethernet chip was used instead on the Blanche board; this chip is compatible with SMSC LAN9115 for which there's a (device tree aware) driver. Describe the chip in the Blanche device tree; enable DHCP and NFS root in the kernel command line for the kernel booting. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- arch/arm/boot/dts/r8a7792-blanche.dts | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r8a7792-blanche.dts b/arch/arm/boot/dts/r8a7792-blanche.dts index e277d924441b..e7b40f0e7da6 100644 --- a/arch/arm/boot/dts/r8a7792-blanche.dts +++ b/arch/arm/boot/dts/r8a7792-blanche.dts @@ -22,7 +22,7 @@ }; chosen { - bootargs = "ignore_loglevel"; + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; stdout-path = "serial0:115200n8"; }; @@ -30,6 +30,27 @@ device_type = "memory"; reg = <0 0x40000000 0 0x40000000>; }; + + d3_3v: regulator-3v3 { + compatible = "regulator-fixed"; + regulator-name = "D3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ethernet@18000000 { + compatible = "smsc,lan89218", "smsc,lan9115"; + reg = <0 0x18000000 0 0x100>; + phy-mode = "mii"; + interrupt-parent = <&irqc>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; + smsc,irq-push-pull; + reg-io-width = <4>; + vddvario-supply = <&d3_3v>; + vdd33a-supply = <&d3_3v>; + }; }; &extal_clk { -- 2.7.0.rc3.207.g0ac5344
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 28/41] ARM: dts: blanche: add Ethernet support Date: Thu, 30 Jun 2016 16:15:48 +0200 [thread overview] Message-ID: <f80b6dfd5e56f3908832ce89f96ae94352b616c2.1467294011.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1467294011.git.horms+renesas@verge.net.au> From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> R8A7792 SoC doesn't have the EtherMAC core, so SMSC LAN89218 Ethernet chip was used instead on the Blanche board; this chip is compatible with SMSC LAN9115 for which there's a (device tree aware) driver. Describe the chip in the Blanche device tree; enable DHCP and NFS root in the kernel command line for the kernel booting. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- arch/arm/boot/dts/r8a7792-blanche.dts | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r8a7792-blanche.dts b/arch/arm/boot/dts/r8a7792-blanche.dts index e277d924441b..e7b40f0e7da6 100644 --- a/arch/arm/boot/dts/r8a7792-blanche.dts +++ b/arch/arm/boot/dts/r8a7792-blanche.dts @@ -22,7 +22,7 @@ }; chosen { - bootargs = "ignore_loglevel"; + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; stdout-path = "serial0:115200n8"; }; @@ -30,6 +30,27 @@ device_type = "memory"; reg = <0 0x40000000 0 0x40000000>; }; + + d3_3v: regulator-3v3 { + compatible = "regulator-fixed"; + regulator-name = "D3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ethernet at 18000000 { + compatible = "smsc,lan89218", "smsc,lan9115"; + reg = <0 0x18000000 0 0x100>; + phy-mode = "mii"; + interrupt-parent = <&irqc>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; + smsc,irq-push-pull; + reg-io-width = <4>; + vddvario-supply = <&d3_3v>; + vdd33a-supply = <&d3_3v>; + }; }; &extal_clk { -- 2.7.0.rc3.207.g0ac5344
next prev parent reply other threads:[~2016-06-30 14:17 UTC|newest] Thread overview: 86+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-06-30 14:15 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.8 Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 01/41] ARM: dts: ape6evm: Name serial port pfc subnode after device name Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 02/41] ARM: dts: ape6evm: Name mmc " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 03/41] ARM: dts: armadillo800eva: Name serial port " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 04/41] ARM: dts: bockw: " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 05/41] ARM: dts: marzen: Name serial port pfc subnodes after device names Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 06/41] ARM: dts: lager: " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 07/41] ARM: dts: lager: Name spi " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 08/41] ARM: dts: lager: Name vin pfc subnode after device name Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 09/41] ARM: dts: koelsch: Name serial port pfc subnodes after device names Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 10/41] ARM: dts: koelsch: Name spi " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 11/41] ARM: dts: porter: Name serial port pfc subnode after device name Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 12/41] ARM: dts: porter: Name spi " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 13/41] ARM: dts: gose: Name serial port pfc subnodes after device names Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 14/41] ARM: dts: gose: Name spi pfc subnode after device name Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 15/41] ARM: dts: alt: Name serial port " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 16/41] ARM: dts: alt: Name spi " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 17/41] ARM: dts: silk: Name serial port " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 18/41] ARM: dts: silk: Name spi " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 19/41] ARM: dts: kzm9g: Name serial port " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 20/41] ARM: dts: r8a7792: add clock index macros Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 21/41] ARM: dts: r8a7792: add power domain " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 22/41] ARM: dts: r8a7792: initial SoC device tree Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 23/41] ARM: dts: r8a7792: add SYS-DMAC support Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 24/41] ARM: dts: r8a7792: add [H]SCIF support Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 25/41] ARM: dts: r8a7792: add IRQC support Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 26/41] ARM: dts: blanche: document Blanche board Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 27/41] ARM: dts: blanche: initial device tree Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` Simon Horman [this message] 2016-06-30 14:15 ` [PATCH 28/41] ARM: dts: blanche: add Ethernet support Simon Horman 2016-06-30 14:15 ` [PATCH 29/41] ARM: dts: silk: add DU pins Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 30/41] ARM: dts: r8a7792: add JPU clocks Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 31/41] ARM: dts: r8a7792: add JPU support Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 32/41] ARM: dts: armadillo800eva: Update console parameters Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 33/41] ARM: dts: genmai: " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 34/41] ARM: dts: marzen: Add serial port config to chosen/stdout-path Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 35/41] ARM: dts: kzm9d: Update console parameters Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 36/41] ARM: dts: kzm9g: " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 37/41] devicetree: bindings: Renesas APMU and SMP Enable method Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 38/41] ARM: dts: r8a7790: Add APMU nodes Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 39/41] ARM: dts: r8a7791: Add APMU node Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:16 ` [PATCH 40/41] ARM: dts: r8a7793: Add APMU node and second CPU core Simon Horman 2016-06-30 14:16 ` Simon Horman 2016-06-30 14:16 ` [PATCH 41/41] ARM: dts: r8a7792: add SMP support Simon Horman 2016-06-30 14:16 ` Simon Horman 2016-07-07 5:11 ` [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.8 Olof Johansson 2016-07-07 5:11 ` Olof Johansson
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=f80b6dfd5e56f3908832ce89f96ae94352b616c2.1467294011.git.horms+renesas@verge.net.au \ --to=horms+renesas@verge.net.au \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=magnus.damm@gmail.com \ --cc=sergei.shtylyov@cogentembedded.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.