ARM: dts: rockchip: remove soc subnodes
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3188-radxarock.dts
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";
20         compatible = "radxa,rock", "rockchip,rk3188";
21
22         memory {
23                 reg = <0x60000000 0x80000000>;
24         };
25
26         uart0: serial@10124000 {
27                 status = "okay";
28         };
29
30         uart1: serial@10126000 {
31                 status = "okay";
32         };
33
34         uart2: serial@20064000 {
35                 pinctrl-names = "default";
36                 pinctrl-0 = <&uart2_xfer>;
37                 status = "okay";
38         };
39
40         uart3: serial@20068000 {
41                 status = "okay";
42         };
43
44         gpio-keys {
45                 compatible = "gpio-keys";
46                 #address-cells = <1>;
47                 #size-cells = <0>;
48                 autorepeat;
49
50                 button@0 {
51                         gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
52                         linux,code = <116>;
53                         label = "GPIO Key Power";
54                         linux,input-type = <1>;
55                         gpio-key,wakeup = <1>;
56                         debounce-interval = <100>;
57                 };
58         };
59
60         gpio-leds {
61                 compatible = "gpio-leds";
62
63                 green {
64                         gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
65                         default-state = "off";
66                 };
67
68                 yellow {
69                         gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
70                         default-state = "off";
71                 };
72
73                 sleep {
74                         gpios = <&gpio0 15 0>;
75                         default-state = "off";
76                 };
77         };
78 };