devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 1/3] dts: sun8i-h3: add uart1/uart2/uart3 pins definitions
       [not found] ` <cover.1462457172.git.martinayotte-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-05-05 13:59   ` Martin Ayotte
  2016-05-05 14:00   ` [PATCH v4 2/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 " Martin Ayotte
  2016-05-05 14:00   ` [PATCH v4 3/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 soc peripherals Martin Ayotte
  2 siblings, 0 replies; 4+ messages in thread
From: Martin Ayotte @ 2016-05-05 13:59 UTC (permalink / raw)
  To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
  Cc: jwrdegoede-rxtnV0ftBwyoClj4AeEUq9i2O/JbrIOy, wens-jdAy2FN1RRM,
	jenskuske-Re5JQEeQqe8AvxtiuMwx3w

dts: sun8i-h3: add uart1/uart2/uart3 pins definitions

Signed-off-by: Martin Ayotte <martinayotte-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 arch/arm/boot/dts/sun8i-h3.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 4a4926b..292ed59 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -508,6 +508,27 @@
 				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
 			};
 
+			uart1_pins_a: uart1@0 {
+				allwinner,pins = "PG6", "PG7";
+				allwinner,function = "uart1";
+				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
+			uart2_pins_a: uart2@0 {
+				allwinner,pins = "PA0", "PA1";
+				allwinner,function = "uart2";
+				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
+			uart3_pins_a: uart3@0 {
+				allwinner,pins = "PA13", "PA14";
+				allwinner,function = "uart3";
+				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
 			mmc0_pins_a: mmc0@0 {
 				allwinner,pins = "PF0", "PF1", "PF2", "PF3",
 						 "PF4", "PF5";
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v4 2/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 pins definitions
       [not found] ` <cover.1462457172.git.martinayotte-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2016-05-05 13:59   ` [PATCH v4 1/3] dts: sun8i-h3: add uart1/uart2/uart3 pins definitions Martin Ayotte
@ 2016-05-05 14:00   ` Martin Ayotte
  2016-05-05 14:00   ` [PATCH v4 3/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 soc peripherals Martin Ayotte
  2 siblings, 0 replies; 4+ messages in thread
From: Martin Ayotte @ 2016-05-05 14:00 UTC (permalink / raw)
  To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
  Cc: jwrdegoede-rxtnV0ftBwyoClj4AeEUq9i2O/JbrIOy, wens-jdAy2FN1RRM,
	jenskuske-Re5JQEeQqe8AvxtiuMwx3w

dts: sun8i-h3: add i2c0/i2c1/i2c2 pins definitions

Signed-off-by: Martin Ayotte <martinayotte-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 arch/arm/boot/dts/sun8i-h3.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 292ed59..79a3af6 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -529,6 +529,27 @@
 				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
 			};
 
+			i2c0_pins_a: i2c0@0 {
+				allwinner,pins = "PA11", "PA12";
+				allwinner,function = "i2c0";
+				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
+			i2c1_pins_a: i2c1@0 {
+				allwinner,pins = "PA18", "PA19";
+				allwinner,function = "i2c1";
+				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
+			i2c2_pins_a: i2c2@0 {
+				allwinner,pins = "PE12", "PE13";
+				allwinner,function = "i2c2";
+				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
 			mmc0_pins_a: mmc0@0 {
 				allwinner,pins = "PF0", "PF1", "PF2", "PF3",
 						 "PF4", "PF5";
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v4 3/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 soc peripherals
       [not found] ` <cover.1462457172.git.martinayotte-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2016-05-05 13:59   ` [PATCH v4 1/3] dts: sun8i-h3: add uart1/uart2/uart3 pins definitions Martin Ayotte
  2016-05-05 14:00   ` [PATCH v4 2/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 " Martin Ayotte
@ 2016-05-05 14:00   ` Martin Ayotte
  2 siblings, 0 replies; 4+ messages in thread
From: Martin Ayotte @ 2016-05-05 14:00 UTC (permalink / raw)
  To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
  Cc: jwrdegoede-rxtnV0ftBwyoClj4AeEUq9i2O/JbrIOy, wens-jdAy2FN1RRM,
	jenskuske-Re5JQEeQqe8AvxtiuMwx3w

dts: sun8i-h3: add i2c0/i2c1/i2c2 soc peripherals

Signed-off-by: Martin Ayotte <martinayotte-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 arch/arm/boot/dts/sun8i-h3.dtsi | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 79a3af6..c947360d 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -668,6 +668,39 @@
 			status = "disabled";
 		};
 
+		i2c0: i2c@01c2ac00 {
+			compatible = "allwinner,sun6i-a31-i2c";
+			reg = <0x01c2ac00 0x400>;
+			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&bus_gates 96>;
+			resets = <&apb2_rst 0>;
+			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c1: i2c@01c2b000 {
+			compatible = "allwinner,sun6i-a31-i2c";
+			reg = <0x01c2b000 0x400>;
+			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&bus_gates 97>;
+			resets = <&apb2_rst 1>;
+			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c2: i2c@01c2b400 {
+			compatible = "allwinner,sun6i-a31-i2c";
+			reg = <0x01c2b400 0x400>;
+			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&bus_gates 98>;
+			resets = <&apb2_rst 2>;
+			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
 		gic: interrupt-controller@01c81000 {
 			compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
 			reg = <0x01c81000 0x1000>,
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v4 0/3] dts: sun8i-h3: add missing UARTs pins and I2C entries for AllWinner H3
@ 2016-05-05 14:06 Martin Ayotte
       [not found] ` <cover.1462457172.git.martinayotte-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Ayotte @ 2016-05-05 14:06 UTC (permalink / raw)
  To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
  Cc: jwrdegoede-rxtnV0ftBwyoClj4AeEUq9i2O/JbrIOy, wens-jdAy2FN1RRM,
	jenskuske-Re5JQEeQqe8AvxtiuMwx3w

Hi everyone,

This patch is submit to provide endusers access to additional UARTs on
AllWinner H3 SoC along with I2C ports.

Regards,
Martin.

(Note: please ignore yesterday's v3, since the cover-letter had a wrong 
Message-Id, and the [1/3] patch wwas missing)

Martin Ayotte (3):
  add uart1/uart2/uart3 pins definitions
  add i2c0/i2c1/i2c2 pins definitions
  add i2c0/i2c1/i2c2 soc peripherals

 arch/arm/boot/dts/sun8i-h3.dtsi | 75 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-05 14:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-05 14:06 [PATCH v4 0/3] dts: sun8i-h3: add missing UARTs pins and I2C entries for AllWinner H3 Martin Ayotte
     [not found] ` <cover.1462457172.git.martinayotte-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-05-05 13:59   ` [PATCH v4 1/3] dts: sun8i-h3: add uart1/uart2/uart3 pins definitions Martin Ayotte
2016-05-05 14:00   ` [PATCH v4 2/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 " Martin Ayotte
2016-05-05 14:00   ` [PATCH v4 3/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 soc peripherals Martin Ayotte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).