blob: 1cf51c280f285ea3f38ee733ff811727ae2a63c5 [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/ {
27 chosen {
28 bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
29 };
30
31 aliases { };
32
33 memory {
34 device_type = "memory";
35 reg = <0x80000000 0x08000000>; /* 128M */
36 };
37
38 soc100 {
39 uart@FF100000 {
Christian Ruppert7d192732013-05-10 16:05:50 +020040 pinctrl-names = "default";
Christian Ruppert2eb95042013-04-11 15:19:40 +020041 pinctrl-0 = <&pctl_uart0>;
42 };
43 ethernet@FE100000 {
44 phy-mode = "rgmii";
45 };
46
47 i2c0: i2c@FF120000 {
Christian Ruppert9803f862013-06-26 10:55:06 +020048 i2c-sda-hold-time-ns = <432>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020049 };
50 i2c1: i2c@FF121000 {
Christian Ruppert9803f862013-06-26 10:55:06 +020051 i2c-sda-hold-time-ns = <432>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020052 };
53 i2c2: i2c@FF122000 {
Christian Ruppert9803f862013-06-26 10:55:06 +020054 i2c-sda-hold-time-ns = <432>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020055 };
56 i2c3: i2c@FF123000 {
Christian Ruppert9803f862013-06-26 10:55:06 +020057 i2c-sda-hold-time-ns = <432>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020058 };
59 i2c4: i2c@FF124000 {
Christian Ruppert9803f862013-06-26 10:55:06 +020060 i2c-sda-hold-time-ns = <432>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020061 };
62
63 leds {
64 compatible = "gpio-leds";
65 power {
66 label = "Power";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010067 gpios = <&gpioi 0 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020068 linux,default-trigger = "default-on";
69 };
70 heartbeat {
71 label = "Heartbeat";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010072 gpios = <&gpioi 1 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020073 linux,default-trigger = "heartbeat";
74 };
75 led2 {
76 label = "LED2";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010077 gpios = <&gpioi 2 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020078 default-state = "off";
79 };
80 led3 {
81 label = "LED3";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010082 gpios = <&gpioi 3 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020083 default-state = "off";
84 };
85 led4 {
86 label = "LED4";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010087 gpios = <&gpioi 4 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020088 default-state = "off";
89 };
90 led5 {
91 label = "LED5";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010092 gpios = <&gpioi 5 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020093 default-state = "off";
94 };
95 led6 {
96 label = "LED6";
Christian Ruppert9c8e6122013-10-31 13:58:27 +010097 gpios = <&gpioi 6 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +020098 default-state = "off";
99 };
100 led7 {
101 label = "LED7";
Christian Ruppert9c8e6122013-10-31 13:58:27 +0100102 gpios = <&gpioi 7 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +0200103 default-state = "off";
104 };
105 led8 {
106 label = "LED8";
Christian Ruppert9c8e6122013-10-31 13:58:27 +0100107 gpios = <&gpioi 8 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +0200108 default-state = "off";
109 };
110 led9 {
111 label = "LED9";
Christian Ruppert9c8e6122013-10-31 13:58:27 +0100112 gpios = <&gpioi 9 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +0200113 default-state = "off";
114 };
115 led10 {
116 label = "LED10";
Christian Ruppert9c8e6122013-10-31 13:58:27 +0100117 gpios = <&gpioi 10 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +0200118 default-state = "off";
119 };
120 led11 {
121 label = "LED11";
Christian Ruppert9c8e6122013-10-31 13:58:27 +0100122 gpios = <&gpioi 11 0>;
Christian Ruppert2eb95042013-04-11 15:19:40 +0200123 default-state = "off";
124 };
125 };
126 };
127};