blob: 37d88c5dd181fc5c0de3eb8bd7526d84e56f483c [file] [log] [blame]
Christian Ruppert2eb95042013-04-11 15:19:40 +02001/*
2 * Abilis Systems TB101 Development Kit PCB device tree
3 *
4 * Copyright (C) Abilis Systems 2013
5 *
6 * Author: Christian Ruppert <christian.ruppert@abilis.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21
22/dts-v1/;
23
24/include/ "abilis_tb101.dtsi"
25
26/ {
Alexey Brodkin618a9cd2016-08-16 07:26:31 +030027 model = "abilis,tb101";
Christian Ruppert2eb95042013-04-11 15:19:40 +020028 chosen {
29 bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
30 };
31
32 aliases { };
33
34 memory {
35 device_type = "memory";
36 reg = <0x80000000 0x08000000>; /* 128M */
37 };
38
39 soc100 {
40 uart@FF100000 {
Christian Ruppert7d192732013-05-10 16:05:50 +020041 pinctrl-names = "default";
Christian Ruppert2eb95042013-04-11 15:19:40 +020042 pinctrl-0 = <&pctl_uart0>;
43 };
44 ethernet@FE100000 {
45 phy-mode = "rgmii";
46 };
47
48 i2c0: i2c@FF120000 {
Christian Ruppert9803f862013-06-26 10:55:06 +020049 i2c-sda-hold-time-ns = <432>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020050 };
51 i2c1: i2c@FF121000 {
Christian Ruppert9803f862013-06-26 10:55:06 +020052 i2c-sda-hold-time-ns = <432>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020053 };
54 i2c2: i2c@FF122000 {
Christian Ruppert9803f862013-06-26 10:55:06 +020055 i2c-sda-hold-time-ns = <432>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020056 };
57 i2c3: i2c@FF123000 {
Christian Ruppert9803f862013-06-26 10:55:06 +020058 i2c-sda-hold-time-ns = <432>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020059 };
60 i2c4: i2c@FF124000 {
Christian Ruppert9803f862013-06-26 10:55:06 +020061 i2c-sda-hold-time-ns = <432>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020062 };
63
64 leds {
65 compatible = "gpio-leds";
66 power {
67 label = "Power";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010068 gpios = <&gpioi 0 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020069 linux,default-trigger = "default-on";
70 };
71 heartbeat {
72 label = "Heartbeat";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010073 gpios = <&gpioi 1 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020074 linux,default-trigger = "heartbeat";
75 };
76 led2 {
77 label = "LED2";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010078 gpios = <&gpioi 2 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020079 default-state = "off";
80 };
81 led3 {
82 label = "LED3";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010083 gpios = <&gpioi 3 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020084 default-state = "off";
85 };
86 led4 {
87 label = "LED4";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010088 gpios = <&gpioi 4 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020089 default-state = "off";
90 };
91 led5 {
92 label = "LED5";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010093 gpios = <&gpioi 5 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020094 default-state = "off";
95 };
96 led6 {
97 label = "LED6";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010098 gpios = <&gpioi 6 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020099 default-state = "off";
100 };
101 led7 {
102 label = "LED7";
Christian Ruppert9c8e6122013-10-31 13:58:27 +0100103 gpios = <&gpioi 7 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +0200104 default-state = "off";
105 };
106 led8 {
107 label = "LED8";
Christian Ruppert9c8e6122013-10-31 13:58:27 +0100108 gpios = <&gpioi 8 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +0200109 default-state = "off";
110 };
111 led9 {
112 label = "LED9";
Christian Ruppert9c8e6122013-10-31 13:58:27 +0100113 gpios = <&gpioi 9 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +0200114 default-state = "off";
115 };
116 led10 {
117 label = "LED10";
Christian Ruppert9c8e6122013-10-31 13:58:27 +0100118 gpios = <&gpioi 10 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +0200119 default-state = "off";
120 };
121 led11 {
122 label = "LED11";
Christian Ruppert9c8e6122013-10-31 13:58:27 +0100123 gpios = <&gpioi 11 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +0200124 default-state = "off";
125 };
126 };
127 };
128};