ARM: dts: clps711x: Remove skeleton.dtsi
PATCH 1/4 ARM: dts: clps711x: Remove skeleton.dtsi
As explained by commit 9c0da3cc61f1233c ("ARM: dts: explicitly mark skeleton.dtsi as deprecated"), including skeleton.dtsi is deprecated.
Signed-off-by Alexander Shiyan <[email protected]>
--- arch/arm/boot/dts/ep7209.dtsi | 11 +++++++++-- arch/arm/boot/dts/ep7211-edb7211.dts | 1 + 2 files changed, 10 insertions(+), 2 deletions(-)
arch/arm/boot/dts/ep7209.dtsi +9 -2
@@ -6,14 +6,17 @@ /dts-v1/; -#include "skeleton.dtsi" - #include <dt-bindings/clock/clps711x-clock.h> / { + #address-cells = <1>; + #size-cells = <1>; + model = "Cirrus Logic EP7209"; compatible = "cirrus,ep7209"; + chosen {}; + aliases { gpio0 = &porta; gpio1 = &portb;
@@ -26,6 +29,10 @@ timer1 = &timer2; }; + memory { + device_type = "memory"; + }; + cpus { #address-cells = <0>; #size-cells = <0>;
arch/arm/boot/dts/ep7211-edb7211.dts +1 -0
@@ -12,6 +12,7 @@ compatible = "cirrus,edb7211", "cirrus,ep7211", "cirrus,ep7209"; memory { + device_type = "memory"; reg = <0xc0000000 0x02000000>; };
Signature · 1 line
2.13.0
PATCH 2/4 ARM: dts: clps711x: rename uart device tree nodes
Use generic names 'serial' for UARTs.
Signed-off-by Alexander Shiyan <[email protected]>
--- arch/arm/boot/dts/ep7209.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/ep7209.dtsi +4 -4
@@ -22,8 +22,8 @@ gpio1 = &portb; gpio3 = &portd; gpio4 = &porte; - serial0 = &uart1; - serial1 = &uart2; + serial0 = &serial1; + serial1 = &serial2; spi0 = &spi; timer0 = &timer1; timer1 = &timer2;
@@ -143,7 +143,7 @@ #pwm-cells = <1>; }; - uart1: uart@80000480 { + serial1: serial@80000480 { compatible = "cirrus,ep7209-uart"; reg = <0x80000480 0x80>; interrupts = <12 13>;
@@ -166,7 +166,7 @@ reg = <0x80001100 0x80>; }; - uart2: uart@80001480 { + serial2: serial@80001480 { compatible = "cirrus,ep7209-uart"; reg = <0x80001480 0x80>; interrupts = <28 29>;
Signature · 1 line
2.13.0
PATCH 3/4 ARM: dts: clps711x: Add syscon phandle to device nodes
In reply to Alexander ShiyanThis patch adds syscon based phandle to Cirrus Logic CLPS711X device nodes that can use it. These phandles will be used to replace usage of syscon_regmap_lookup_by_compatible() and syscon_regmap_lookup_by_pdevname() by syscon_regmap_lookup_by_phandle().
Signed-off-by Alexander Shiyan <[email protected]>
--- arch/arm/boot/dts/ep7209.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/ep7209.dtsi +4 -0
@@ -119,6 +119,7 @@ compatible = "cirrus,ep7209-fb"; reg = <0x800002c0 0xd44>, <0x60000000 0xc000>; clocks = <&clks CLPS711X_CLK_BUS>; + syscon = <&syscon1>; status = "disabled"; };
@@ -158,6 +159,7 @@ reg = <0x80000500 0x4>; interrupts = <15>; clocks = <&clks CLPS711X_CLK_SPI>; + syscon = <&syscon3>; status = "disabled"; };
@@ -181,6 +183,7 @@ clocks = <&clks CLPS711X_CLK_PLL>; clock-names = "pll"; interrupts = <32>; + syscon = <&syscon3>; status = "disabled"; };
@@ -192,6 +195,7 @@ mctrl: mctrl { compatible = "cirrus,ep7209-mctrl-gpio"; + gpio,syscon-dev = <&syscon1 0 0>; gpio-controller; #gpio-cells = <2>; };
Signature · 1 line
2.13.0
PATCH 4/4 ARM: dts: clps711x: Add keypad devicetree node
In reply to Alexander ShiyanThis patch adds keypad devicetree node for Cirrus Logic CLPS711X CPUs.
Signed-off-by Alexander Shiyan <[email protected]>
--- arch/arm/boot/dts/ep7209.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/ep7209.dtsi +6 -0
@@ -193,6 +193,12 @@ }; }; + keypad: keypad { + compatible = "cirrus,ep7209-keypad"; + syscon = <&syscon1>; + status = "disabled"; + }; + mctrl: mctrl { compatible = "cirrus,ep7209-mctrl-gpio"; gpio,syscon-dev = <&syscon1 0 0>;
Signature · 1 line
2.13.0