ARM: dts: rockchip: add handles for shared nodes that don't have one yet
[deliverable/linux.git] / arch / arm / boot / dts / rk3188-radxarock.dts
CommitLineData
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 uart0: serial@10124000 {
27 status = "okay";
28 };
6bcf60f8 29
c3030d30
HS
30 uart1: serial@10126000 {
31 status = "okay";
32 };
6bcf60f8 33
c3030d30
HS
34 uart2: serial@20064000 {
35 pinctrl-names = "default";
36 pinctrl-0 = <&uart2_xfer>;
37 status = "okay";
38 };
6bcf60f8 39
c3030d30
HS
40 uart3: serial@20068000 {
41 status = "okay";
42 };
6bcf60f8 43
c3030d30
HS
44 gpio-keys {
45 compatible = "gpio-keys";
46 #address-cells = <1>;
47 #size-cells = <0>;
48 autorepeat;
6bcf60f8 49
c3030d30
HS
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>;
6bcf60f8 57 };
c3030d30 58 };
6bcf60f8 59
c3030d30
HS
60 gpio-leds {
61 compatible = "gpio-leds";
6bcf60f8 62
c3030d30
HS
63 green {
64 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
65 default-state = "off";
66 };
6bcf60f8 67
c3030d30
HS
68 yellow {
69 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
70 default-state = "off";
6bcf60f8
HS
71 };
72
c3030d30
HS
73 sleep {
74 gpios = <&gpio0 15 0>;
75 default-state = "off";
76 };
6bcf60f8
HS
77 };
78};
This page took 0.0738 seconds and 5 git commands to generate.