aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun9i-a80-optimus.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-01-17 00:19:31 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-21 03:59:21 -0500
commit10eb98b1f3362174f712e3aed1651f4edcdf4312 (patch)
treeac2dbdc0baa307c29c57e9681a98b792ed2a989c /arch/arm/boot/dts/sun9i-a80-optimus.dts
parent2f6941cd2923c37ea93ec27a6f7ae2a7f0f8332a (diff)
ARM: dts: sun9i: Convert a80 optimus board dts to label referencing
The preferred method of referencing nodes from the dtsi is to use labels, instead of copying the complete tree. This patch converts sun9i-a80-optimus.dts to use label references. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun9i-a80-optimus.dts')
-rw-r--r--arch/arm/boot/dts/sun9i-a80-optimus.dts76
1 files changed, 37 insertions, 39 deletions
diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts
index 58f5cb346519..d4f3866a8d0b 100644
--- a/arch/arm/boot/dts/sun9i-a80-optimus.dts
+++ b/arch/arm/boot/dts/sun9i-a80-optimus.dts
@@ -61,45 +61,6 @@
61 bootargs = "earlyprintk console=ttyS0,115200"; 61 bootargs = "earlyprintk console=ttyS0,115200";
62 }; 62 };
63 63
64 soc {
65 pio: pinctrl@06000800 {
66 i2c3_pins_a: i2c3@0 {
67 /* Enable internal pull-up */
68 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
69 };
70
71 led_pins_optimus: led-pins@0 {
72 allwinner,pins = "PH0", "PH1";
73 allwinner,function = "gpio_out";
74 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
75 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
76 };
77
78 uart4_pins_a: uart4@0 {
79 /* Enable internal pull-up */
80 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
81 };
82 };
83
84 uart0: serial@07000000 {
85 pinctrl-names = "default";
86 pinctrl-0 = <&uart0_pins_a>;
87 status = "okay";
88 };
89
90 uart4: serial@07001000 {
91 pinctrl-names = "default";
92 pinctrl-0 = <&uart4_pins_a>;
93 status = "okay";
94 };
95
96 i2c3: i2c@07003400 {
97 pinctrl-names = "default";
98 pinctrl-0 = <&i2c3_pins_a>;
99 status = "okay";
100 };
101 };
102
103 leds { 64 leds {
104 compatible = "gpio-leds"; 65 compatible = "gpio-leds";
105 pinctrl-names = "default"; 66 pinctrl-names = "default";
@@ -120,3 +81,40 @@
120 }; 81 };
121 }; 82 };
122}; 83};
84
85&i2c3 {
86 pinctrl-names = "default";
87 pinctrl-0 = <&i2c3_pins_a>;
88 status = "okay";
89};
90
91&i2c3_pins_a {
92 /* Enable internal pull-up */
93 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
94};
95
96&pio {
97 led_pins_optimus: led-pins@0 {
98 allwinner,pins = "PH0", "PH1";
99 allwinner,function = "gpio_out";
100 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
101 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
102 };
103};
104
105&uart0 {
106 pinctrl-names = "default";
107 pinctrl-0 = <&uart0_pins_a>;
108 status = "okay";
109};
110
111&uart4 {
112 pinctrl-names = "default";
113 pinctrl-0 = <&uart4_pins_a>;
114 status = "okay";
115};
116
117&uart4_pins_a {
118 /* Enable internal pull-up */
119 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
120};