Commit | Line | Data |
---|---|---|
6bcf60f8 HS |
1 | /* |
2 | * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de> | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | */ | |
14 | ||
15 | /dts-v1/; | |
16 | #include "rk3188.dtsi" | |
17 | ||
18 | / { | |
19 | model = "Radxa Rock"; | |
ac4eba8e | 20 | compatible = "radxa,rock", "rockchip,rk3188"; |
6bcf60f8 HS |
21 | |
22 | memory { | |
23 | reg = <0x60000000 0x80000000>; | |
24 | }; | |
25 | ||
c3030d30 HS |
26 | gpio-keys { |
27 | compatible = "gpio-keys"; | |
28 | #address-cells = <1>; | |
29 | #size-cells = <0>; | |
30 | autorepeat; | |
6bcf60f8 | 31 | |
c3030d30 HS |
32 | button@0 { |
33 | gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; | |
34 | linux,code = <116>; | |
35 | label = "GPIO Key Power"; | |
36 | linux,input-type = <1>; | |
37 | gpio-key,wakeup = <1>; | |
38 | debounce-interval = <100>; | |
6bcf60f8 | 39 | }; |
c3030d30 | 40 | }; |
6bcf60f8 | 41 | |
c3030d30 HS |
42 | gpio-leds { |
43 | compatible = "gpio-leds"; | |
6bcf60f8 | 44 | |
c3030d30 HS |
45 | green { |
46 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; | |
47 | default-state = "off"; | |
48 | }; | |
6bcf60f8 | 49 | |
c3030d30 HS |
50 | yellow { |
51 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; | |
52 | default-state = "off"; | |
6bcf60f8 HS |
53 | }; |
54 | ||
c3030d30 HS |
55 | sleep { |
56 | gpios = <&gpio0 15 0>; | |
57 | default-state = "off"; | |
58 | }; | |
6bcf60f8 HS |
59 | }; |
60 | }; | |
fcbbf965 HS |
61 | |
62 | &uart0 { | |
63 | status = "okay"; | |
64 | }; | |
65 | ||
66 | &uart1 { | |
67 | status = "okay"; | |
68 | }; | |
69 | ||
70 | &uart2 { | |
71 | pinctrl-names = "default"; | |
72 | pinctrl-0 = <&uart2_xfer>; | |
73 | status = "okay"; | |
74 | }; | |
75 | ||
76 | &uart3 { | |
77 | status = "okay"; | |
78 | }; |