2012-07-09 02:05:18 -06:00
|
|
|
/*
|
|
|
|
* aks-cdu.dts - Device Tree file for AK signal CDU
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 AK signal Brno a.s.
|
|
|
|
* 2012 Jiri Prchal <jiri.prchal@aksignal.cz>
|
|
|
|
*
|
|
|
|
* Licensed under GPLv2 or later.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2013-05-14 11:21:50 -06:00
|
|
|
#include "ge863-pro3.dtsi"
|
2012-07-09 02:05:18 -06:00
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs";
|
|
|
|
};
|
|
|
|
|
2014-07-09 07:22:15 -06:00
|
|
|
clocks {
|
|
|
|
slow_xtal {
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-07-09 02:05:18 -06:00
|
|
|
ahb {
|
|
|
|
apb {
|
|
|
|
usart0: serial@fffb0000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
usart1: serial@fffb4000 {
|
|
|
|
status = "okay";
|
|
|
|
linux,rs485-enabled-at-boot-time;
|
|
|
|
rs485-rts-delay = <0 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usart2: serial@fffb8000 {
|
|
|
|
status = "okay";
|
|
|
|
linux,rs485-enabled-at-boot-time;
|
|
|
|
rs485-rts-delay = <0 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usart3: serial@fffd0000 {
|
|
|
|
status = "okay";
|
|
|
|
linux,rs485-enabled-at-boot-time;
|
|
|
|
rs485-rts-delay = <0 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
macb0: ethernet@fffc4000 {
|
|
|
|
phy-mode = "rmii";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
usb1: gadget@fffa4000 {
|
2013-04-23 18:34:25 -06:00
|
|
|
atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>;
|
2012-07-09 02:05:18 -06:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-06-03 00:15:38 -06:00
|
|
|
usb0: ohci@500000 {
|
2012-07-09 02:05:18 -06:00
|
|
|
num-ports = <2>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
nand0: nand@40000000 {
|
|
|
|
nand-bus-width = <8>;
|
|
|
|
nand-ecc-mode = "soft";
|
|
|
|
nand-on-flash-bbt;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
bootstrap@0 {
|
|
|
|
label = "bootstrap";
|
|
|
|
reg = <0x0 0x40000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
uboot@40000 {
|
|
|
|
label = "uboot";
|
|
|
|
reg = <0x40000 0x80000>;
|
|
|
|
};
|
|
|
|
ubootenv@c0000 {
|
|
|
|
label = "ubootenv";
|
|
|
|
reg = <0xc0000 0x40000>;
|
|
|
|
};
|
|
|
|
kernel@100000 {
|
|
|
|
label = "kernel";
|
|
|
|
reg = <0x100000 0x400000>;
|
|
|
|
};
|
|
|
|
rootfs@500000 {
|
|
|
|
label = "rootfs";
|
|
|
|
reg = <0x500000 0x7b00000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
red {
|
2013-04-23 18:34:25 -06:00
|
|
|
gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
|
2012-07-09 02:05:18 -06:00
|
|
|
linux,default-trigger = "none";
|
|
|
|
};
|
|
|
|
|
|
|
|
green {
|
2013-04-23 18:34:25 -06:00
|
|
|
gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
|
2012-07-09 02:05:18 -06:00
|
|
|
linux,default-trigger = "none";
|
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
|
|
|
|
yellow {
|
2013-04-23 18:34:25 -06:00
|
|
|
gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
|
2012-07-09 02:05:18 -06:00
|
|
|
linux,default-trigger = "none";
|
|
|
|
};
|
|
|
|
|
|
|
|
blue {
|
2013-04-23 18:34:25 -06:00
|
|
|
gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
|
2012-07-09 02:05:18 -06:00
|
|
|
linux,default-trigger = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|