rk3188-radxarock.dts 1.52 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/dts-v1/;
#include "rk3188.dtsi"

/ {
	model = "Radxa Rock";
20
	compatible = "radxa,rock", "rockchip,rk3188";
21
22
23
24
25

	memory {
		reg = <0x60000000 0x80000000>;
	};

26
27
28
	uart0: serial@10124000 {
		status = "okay";
	};
29

30
31
32
	uart1: serial@10126000 {
		status = "okay";
	};
33

34
35
36
37
38
	uart2: serial@20064000 {
		pinctrl-names = "default";
		pinctrl-0 = <&uart2_xfer>;
		status = "okay";
	};
39

40
41
42
	uart3: serial@20068000 {
		status = "okay";
	};
43

44
45
46
47
48
	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;
49

50
51
52
53
54
55
56
		button@0 {
			gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
			linux,code = <116>;
			label = "GPIO Key Power";
			linux,input-type = <1>;
			gpio-key,wakeup = <1>;
			debounce-interval = <100>;
57
		};
58
	};
59

60
61
	gpio-leds {
		compatible = "gpio-leds";
62

63
64
65
66
		green {
			gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
			default-state = "off";
		};
67

68
69
70
		yellow {
			gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
			default-state = "off";
71
72
		};

73
74
75
76
		sleep {
			gpios = <&gpio0 15 0>;
			default-state = "off";
		};
77
78
	};
};