ARM: shmobile: emev2 dts: Add pinmux support
Subsystems (2)
cover ARM: shmobile: emev2 dts: Add pinmux support
Hi Simon, Magnus,
Here are the two remaining patches from Niklas S?derlund to add pinmux support for EMMA Mobile EV2. The patches for the actual pinctrl driver have already landed in Linus' tree.
Thanks for applying!
Niklas S?derlund (2):
ARM: shmobile: emev2 dtsi: Add PFC information
ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1
arch/arm/boot/dts/emev2-kzm9d.dts | 13 +++++++++++++ arch/arm/boot/dts/emev2.dtsi | 10 ++++++++++ 2 files changed, 23 insertions(+)
Signature · 12 lines
1.9.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsPATCH 1/2 ARM: shmobile: emev2 dtsi: Add PFC information
From: Niklas S?derlund <[email protected]>
With this information all GPIOs can make use of the PFC functionality.
--- arch/arm/boot/dts/emev2.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm/boot/dts/emev2.dtsi +10 -0
@@ -169,12 +169,18 @@ clock-names = "sclk"; }; + pfc: pfc at e0140200 { + compatible = "renesas,pfc-emev2"; + reg = <0xe0140200 0x100>; + }; + gpio0: gpio at e0050000 { compatible = "renesas,em-gio"; reg = <0xe0050000 0x2c>, <0xe0050040 0x20>; interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>, <0 68 IRQ_TYPE_LEVEL_HIGH>; gpio-controller; + gpio-ranges = <&pfc 0 0 32>; #gpio-cells = <2>; ngpios = <32>; interrupt-controller;
@@ -186,6 +192,7 @@ interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>, <0 70 IRQ_TYPE_LEVEL_HIGH>; gpio-controller; + gpio-ranges = <&pfc 0 32 32>; #gpio-cells = <2>; ngpios = <32>; interrupt-controller;
@@ -197,6 +204,7 @@ interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>, <0 72 IRQ_TYPE_LEVEL_HIGH>; gpio-controller; + gpio-ranges = <&pfc 0 64 32>; #gpio-cells = <2>; ngpios = <32>; interrupt-controller;
@@ -208,6 +216,7 @@ interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>, <0 74 IRQ_TYPE_LEVEL_HIGH>; gpio-controller; + gpio-ranges = <&pfc 0 96 32>; #gpio-cells = <2>; ngpios = <32>; interrupt-controller;
@@ -219,6 +228,7 @@ interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>, <0 76 IRQ_TYPE_LEVEL_HIGH>; gpio-controller; + gpio-ranges = <&pfc 0 128 31>; #gpio-cells = <2>; ngpios = <31>; interrupt-controller;
Signature · 1 line
1.9.1
PATCH 2/2 ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1
In reply to Geert UytterhoevenFrom: Niklas S?derlund <[email protected]>
Configure the pinmux on kzm9d to use the serial connector for uart1.
--- arch/arm/boot/dts/emev2-kzm9d.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm/boot/dts/emev2-kzm9d.dts +13 -0
@@ -94,3 +94,16 @@ vdd33a-supply = <®_3p3v>; }; }; + +&pfc { + uart1_pins: uart at e1030000 { + renesas,groups = "uart1_ctrl", "uart1_data"; + renesas,function = "uart1"; + }; +}; + +&uart1 { + pinctrl-0 = <&uart1_pins>; + pinctrl-names = "default"; + status = "okay"; +};
Signature · 1 line
1.9.1
cover ARM: shmobile: emev2 dts: Add pinmux support
In reply to Geert UytterhoevenQuoted 7 lines · Geert Uytterhoeven
Hi Simon, Magnus,
Here are the two remaining patches from Niklas S?derlund to add pinmux support for EMMA Mobile EV2. The patches for the actual pinctrl driver have already landed in Linus' tree.
Thanks for applying!
Thanks, done.
Quoted 7 lines
Niklas S?derlund (2):
ARM: shmobile: emev2 dtsi: Add PFC information
ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1arch/arm/boot/dts/emev2-kzm9d.dts | 13 +++++++++++++ arch/arm/boot/dts/emev2.dtsi | 10 ++++++++++ 2 files changed, 23 insertions(+)