All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: linux-arm-kernel@lists.infradead.org
Cc: kevin@allwinnertech.com, sunny@allwinnertech.com,
	shuge@allwinnertech.com, netdev@vger.kernel.org,
	Russell King <linux@arm.linux.org.uk>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 5/5] ARM: hackberry: dt: Add Ethernet controller to the Hackberry device tree
Date: Fri, 15 Mar 2013 21:50:04 +0100	[thread overview]
Message-ID: <1363380605-6577-6-git-send-email-maxime.ripard@free-electrons.com> (raw)
In-Reply-To: <1363380605-6577-1-git-send-email-maxime.ripard@free-electrons.com>

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/sun4i-a10-hackberry.dts |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/sun4i-a10-hackberry.dts b/arch/arm/boot/dts/sun4i-a10-hackberry.dts
index f84549a..3808c1a 100644
--- a/arch/arm/boot/dts/sun4i-a10-hackberry.dts
+++ b/arch/arm/boot/dts/sun4i-a10-hackberry.dts
@@ -23,8 +23,27 @@
 	};
 
 	soc {
+		pio: pinctrl@01c20800 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&hackberry_hogs>;
+
+			hackberry_hogs: hogs@0 {
+				allwinner,pins = "PH19";
+				allwinner,function = "gpio_out";
+				allwinner,drive = <0>;
+				allwinner,pull = <0>;
+			};
+		};
+
 		uart0: uart@01c28000 {
 			status = "okay";
 		};
+
+		wemac: ethernet@01c0b000 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&wemac_pins_a>;
+			status = "ok";
+			allwinner,power-gpios = <&pio 7 19 0>;
+		};
 	};
 };
-- 
1.7.10.4


WARNING: multiple messages have this Message-ID (diff)
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/5] ARM: hackberry: dt: Add Ethernet controller to the Hackberry device tree
Date: Fri, 15 Mar 2013 21:50:04 +0100	[thread overview]
Message-ID: <1363380605-6577-6-git-send-email-maxime.ripard@free-electrons.com> (raw)
In-Reply-To: <1363380605-6577-1-git-send-email-maxime.ripard@free-electrons.com>

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/sun4i-a10-hackberry.dts |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/sun4i-a10-hackberry.dts b/arch/arm/boot/dts/sun4i-a10-hackberry.dts
index f84549a..3808c1a 100644
--- a/arch/arm/boot/dts/sun4i-a10-hackberry.dts
+++ b/arch/arm/boot/dts/sun4i-a10-hackberry.dts
@@ -23,8 +23,27 @@
 	};
 
 	soc {
+		pio: pinctrl at 01c20800 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&hackberry_hogs>;
+
+			hackberry_hogs: hogs at 0 {
+				allwinner,pins = "PH19";
+				allwinner,function = "gpio_out";
+				allwinner,drive = <0>;
+				allwinner,pull = <0>;
+			};
+		};
+
 		uart0: uart at 01c28000 {
 			status = "okay";
 		};
+
+		wemac: ethernet at 01c0b000 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&wemac_pins_a>;
+			status = "ok";
+			allwinner,power-gpios = <&pio 7 19 0>;
+		};
 	};
 };
-- 
1.7.10.4

  parent reply	other threads:[~2013-03-15 20:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 20:49 [PATCH 0/5] ARM: sunxi: Add support for A10 Ethernet controller Maxime Ripard
2013-03-15 20:49 ` Maxime Ripard
2013-03-15 20:50 ` [PATCH 1/5] net: Add davicom wemac ethernet driver found on Allwinner A10 SoC's Maxime Ripard
2013-03-15 20:50   ` Maxime Ripard
2013-03-15 21:01   ` Maxime Ripard
2013-03-15 21:01     ` Maxime Ripard
2013-03-16 14:41   ` Florian Fainelli
2013-03-16 14:41     ` Florian Fainelli
2013-03-19 18:39     ` Maxime Ripard
2013-03-19 18:39       ` Maxime Ripard
2013-03-16 14:55   ` Alexander Shiyan
2013-03-16 14:55     ` Alexander Shiyan
2013-03-16 14:55     ` Alexander Shiyan
2013-03-15 20:50 ` [PATCH 2/5] ARM: sunxi: Add wemac to sun4i dtsi Maxime Ripard
2013-03-15 20:50   ` Maxime Ripard
2013-03-15 20:50   ` Maxime Ripard
2013-03-15 20:50 ` [PATCH 3/5] ARM: sun4i: Add muxing options for the ethernet controller Maxime Ripard
2013-03-15 20:50   ` Maxime Ripard
2013-03-15 20:50   ` Maxime Ripard
2013-03-15 20:50 ` [PATCH 4/5] ARM: cubieboard: Enable ethernet (WEMAC) support in dts Maxime Ripard
2013-03-15 20:50   ` Maxime Ripard
2013-03-15 20:50 ` Maxime Ripard [this message]
2013-03-15 20:50   ` [PATCH 5/5] ARM: hackberry: dt: Add Ethernet controller to the Hackberry device tree Maxime Ripard
2013-03-19  9:47 ` [PATCH 0/5] ARM: sunxi: Add support for A10 Ethernet controller Oliver Schinagl
2013-03-23 22:30 [PATCHv2 " Maxime Ripard
2013-03-23 22:30 ` [PATCH 5/5] ARM: hackberry: dt: Add Ethernet controller to the Hackberry device tree Maxime Ripard
2013-03-23 22:30   ` Maxime Ripard

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=1363380605-6577-6-git-send-email-maxime.ripard@free-electrons.com \
    --to=maxime.ripard@free-electrons.com \
    --cc=kevin@allwinnertech.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=shuge@allwinnertech.com \
    --cc=sunny@allwinnertech.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: link
Be 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.