diff options
Diffstat (limited to 'arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts')
-rw-r--r-- | arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 44 |
1 files changed, 40 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts index 95a849bf921f..486007d7ffe4 100644 --- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | |||
@@ -11,6 +11,7 @@ | |||
11 | /dts-v1/; | 11 | /dts-v1/; |
12 | #include "r8a7740.dtsi" | 12 | #include "r8a7740.dtsi" |
13 | #include <dt-bindings/gpio/gpio.h> | 13 | #include <dt-bindings/gpio/gpio.h> |
14 | #include <dt-bindings/input/input.h> | ||
14 | #include <dt-bindings/interrupt-controller/irq.h> | 15 | #include <dt-bindings/interrupt-controller/irq.h> |
15 | #include <dt-bindings/pwm/pwm.h> | 16 | #include <dt-bindings/pwm/pwm.h> |
16 | 17 | ||
@@ -77,26 +78,26 @@ | |||
77 | 78 | ||
78 | power-key { | 79 | power-key { |
79 | gpios = <&pfc 99 GPIO_ACTIVE_LOW>; | 80 | gpios = <&pfc 99 GPIO_ACTIVE_LOW>; |
80 | linux,code = <116>; | 81 | linux,code = <KEY_POWER>; |
81 | label = "SW3"; | 82 | label = "SW3"; |
82 | gpio-key,wakeup; | 83 | gpio-key,wakeup; |
83 | }; | 84 | }; |
84 | 85 | ||
85 | back-key { | 86 | back-key { |
86 | gpios = <&pfc 100 GPIO_ACTIVE_LOW>; | 87 | gpios = <&pfc 100 GPIO_ACTIVE_LOW>; |
87 | linux,code = <158>; | 88 | linux,code = <KEY_BACK>; |
88 | label = "SW4"; | 89 | label = "SW4"; |
89 | }; | 90 | }; |
90 | 91 | ||
91 | menu-key { | 92 | menu-key { |
92 | gpios = <&pfc 97 GPIO_ACTIVE_LOW>; | 93 | gpios = <&pfc 97 GPIO_ACTIVE_LOW>; |
93 | linux,code = <139>; | 94 | linux,code = <KEY_MENU>; |
94 | label = "SW5"; | 95 | label = "SW5"; |
95 | }; | 96 | }; |
96 | 97 | ||
97 | home-key { | 98 | home-key { |
98 | gpios = <&pfc 98 GPIO_ACTIVE_LOW>; | 99 | gpios = <&pfc 98 GPIO_ACTIVE_LOW>; |
99 | linux,code = <102>; | 100 | linux,code = <KEY_HOME>; |
100 | label = "SW6"; | 101 | label = "SW6"; |
101 | }; | 102 | }; |
102 | }; | 103 | }; |
@@ -117,6 +118,16 @@ | |||
117 | }; | 118 | }; |
118 | }; | 119 | }; |
119 | 120 | ||
121 | i2c2: i2c@2 { | ||
122 | #address-cells = <1>; | ||
123 | #size-cells = <0>; | ||
124 | compatible = "i2c-gpio"; | ||
125 | gpios = <&pfc 208 GPIO_ACTIVE_HIGH /* sda */ | ||
126 | &pfc 91 GPIO_ACTIVE_HIGH /* scl */ | ||
127 | >; | ||
128 | i2c-gpio,delay-us = <5>; | ||
129 | }; | ||
130 | |||
120 | backlight { | 131 | backlight { |
121 | compatible = "pwm-backlight"; | 132 | compatible = "pwm-backlight"; |
122 | pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>; | 133 | pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>; |
@@ -147,6 +158,18 @@ | |||
147 | }; | 158 | }; |
148 | }; | 159 | }; |
149 | 160 | ||
161 | ðer { | ||
162 | pinctrl-0 = <ðer_pins>; | ||
163 | pinctrl-names = "default"; | ||
164 | |||
165 | phy-handle = <&phy0>; | ||
166 | status = "ok"; | ||
167 | |||
168 | phy0: ethernet-phy@0 { | ||
169 | reg = <0>; | ||
170 | }; | ||
171 | }; | ||
172 | |||
150 | &i2c0 { | 173 | &i2c0 { |
151 | status = "okay"; | 174 | status = "okay"; |
152 | touchscreen@55 { | 175 | touchscreen@55 { |
@@ -166,10 +189,23 @@ | |||
166 | }; | 189 | }; |
167 | }; | 190 | }; |
168 | 191 | ||
192 | &i2c2 { | ||
193 | status = "okay"; | ||
194 | rtc@30 { | ||
195 | compatible = "sii,s35390a"; | ||
196 | reg = <0x30>; | ||
197 | }; | ||
198 | }; | ||
199 | |||
169 | &pfc { | 200 | &pfc { |
170 | pinctrl-0 = <&scifa1_pins>; | 201 | pinctrl-0 = <&scifa1_pins>; |
171 | pinctrl-names = "default"; | 202 | pinctrl-names = "default"; |
172 | 203 | ||
204 | ether_pins: ether { | ||
205 | renesas,groups = "gether_mii", "gether_int"; | ||
206 | renesas,function = "gether"; | ||
207 | }; | ||
208 | |||
173 | scifa1_pins: serial1 { | 209 | scifa1_pins: serial1 { |
174 | renesas,groups = "scifa1_data"; | 210 | renesas,groups = "scifa1_data"; |
175 | renesas,function = "scifa1"; | 211 | renesas,function = "scifa1"; |