2013-04-11 21:19:40 +08:00
|
|
|
/*
|
|
|
|
* Abilis Systems TB101 Development Kit PCB device tree
|
|
|
|
*
|
|
|
|
* Copyright (C) Abilis Systems 2013
|
|
|
|
*
|
|
|
|
* Author: Christian Ruppert <christian.ruppert@abilis.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
/include/ "abilis_tb101.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2016-08-16 12:26:31 +08:00
|
|
|
model = "abilis,tb101";
|
2013-04-11 21:19:40 +08:00
|
|
|
chosen {
|
|
|
|
bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases { };
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x80000000 0x08000000>; /* 128M */
|
|
|
|
};
|
|
|
|
|
|
|
|
soc100 {
|
|
|
|
uart@FF100000 {
|
2013-05-10 22:05:50 +08:00
|
|
|
pinctrl-names = "default";
|
2013-04-11 21:19:40 +08:00
|
|
|
pinctrl-0 = <&pctl_uart0>;
|
|
|
|
};
|
|
|
|
ethernet@FE100000 {
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c0: i2c@FF120000 {
|
2013-06-26 16:55:06 +08:00
|
|
|
i2c-sda-hold-time-ns = <432>;
|
2013-04-11 21:19:40 +08:00
|
|
|
};
|
|
|
|
i2c1: i2c@FF121000 {
|
2013-06-26 16:55:06 +08:00
|
|
|
i2c-sda-hold-time-ns = <432>;
|
2013-04-11 21:19:40 +08:00
|
|
|
};
|
|
|
|
i2c2: i2c@FF122000 {
|
2013-06-26 16:55:06 +08:00
|
|
|
i2c-sda-hold-time-ns = <432>;
|
2013-04-11 21:19:40 +08:00
|
|
|
};
|
|
|
|
i2c3: i2c@FF123000 {
|
2013-06-26 16:55:06 +08:00
|
|
|
i2c-sda-hold-time-ns = <432>;
|
2013-04-11 21:19:40 +08:00
|
|
|
};
|
|
|
|
i2c4: i2c@FF124000 {
|
2013-06-26 16:55:06 +08:00
|
|
|
i2c-sda-hold-time-ns = <432>;
|
2013-04-11 21:19:40 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
power {
|
|
|
|
label = "Power";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 0 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
linux,default-trigger = "default-on";
|
|
|
|
};
|
|
|
|
heartbeat {
|
|
|
|
label = "Heartbeat";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 1 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
};
|
|
|
|
led2 {
|
|
|
|
label = "LED2";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 2 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led3 {
|
|
|
|
label = "LED3";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 3 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led4 {
|
|
|
|
label = "LED4";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 4 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led5 {
|
|
|
|
label = "LED5";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 5 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led6 {
|
|
|
|
label = "LED6";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 6 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led7 {
|
|
|
|
label = "LED7";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 7 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led8 {
|
|
|
|
label = "LED8";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 8 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led9 {
|
|
|
|
label = "LED9";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 9 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led10 {
|
|
|
|
label = "LED10";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 10 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led11 {
|
|
|
|
label = "LED11";
|
2013-10-31 20:58:27 +08:00
|
|
|
gpios = <&gpioi 11 0>;
|
2013-04-11 21:19:40 +08:00
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|