2 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
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.
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.
16 #include "rk3188.dtsi"
20 compatible = "radxa,rock", "rockchip,rk3188";
23 reg = <0x60000000 0x80000000>;
27 uart0: serial@10124000 {
31 uart1: serial@10126000 {
35 uart2: serial@20064000 {
36 pinctrl-names = "default";
37 pinctrl-0 = <&uart2_xfer>;
41 uart3: serial@20068000 {
46 compatible = "gpio-keys";
52 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
54 label = "GPIO Key Power";
55 linux,input-type = <1>;
56 gpio-key,wakeup = <1>;
57 debounce-interval = <100>;
62 compatible = "gpio-leds";
65 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
66 default-state = "off";
70 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
71 default-state = "off";
75 gpios = <&gpio0 15 0>;
76 default-state = "off";