aks-cdu.dts revision 284090
1/*
2 * aks-cdu.dts - Device Tree file for AK signal CDU
3 *
4 * Copyright (C) 2012 AK signal Brno a.s.
5 *               2012 Jiri Prchal <jiri.prchal@aksignal.cz>
6 *
7 * Licensed under GPLv2 or later.
8 */
9
10/dts-v1/;
11
12#include "ge863-pro3.dtsi"
13
14/ {
15	chosen {
16		bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs";
17	};
18
19	clocks {
20		slow_xtal {
21			clock-frequency = <32768>;
22		};
23	};
24
25	ahb {
26		apb {
27			usart0: serial@fffb0000 {
28				status = "okay";
29			};
30
31			usart1: serial@fffb4000 {
32				status = "okay";
33				linux,rs485-enabled-at-boot-time;
34				rs485-rts-delay = <0 0>;
35				};
36
37			usart2: serial@fffb8000 {
38				status = "okay";
39				linux,rs485-enabled-at-boot-time;
40				rs485-rts-delay = <0 0>;
41			};
42
43			usart3: serial@fffd0000 {
44				status = "okay";
45				linux,rs485-enabled-at-boot-time;
46				rs485-rts-delay = <0 0>;
47			};
48
49			macb0: ethernet@fffc4000 {
50				phy-mode = "rmii";
51				status = "okay";
52			};
53
54			usb1: gadget@fffa4000 {
55				atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>;
56				status = "okay";
57			};
58		};
59
60		usb0: ohci@00500000 {
61			num-ports = <2>;
62			status = "okay";
63		};
64
65		nand0: nand@40000000 {
66			nand-bus-width = <8>;
67			nand-ecc-mode = "soft";
68			nand-on-flash-bbt;
69			status = "okay";
70
71			bootstrap@0 {
72				label = "bootstrap";
73				reg = <0x0 0x40000>;
74			};
75
76			uboot@40000 {
77				label = "uboot";
78				reg = <0x40000 0x80000>;
79			};
80			ubootenv@c0000 {
81				label = "ubootenv";
82				reg = <0xc0000 0x40000>;
83			};
84			kernel@100000 {
85				label = "kernel";
86				reg = <0x100000 0x400000>;
87			};
88			rootfs@500000 {
89				label = "rootfs";
90				reg = <0x500000 0x7b00000>;
91			};
92		};
93	};
94
95	leds {
96		compatible = "gpio-leds";
97
98		red {
99			gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
100			linux,default-trigger = "none";
101		};
102
103		green {
104			gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
105			linux,default-trigger = "none";
106			default-state = "on";
107		};
108
109		yellow {
110			gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
111			linux,default-trigger = "none";
112		};
113
114		blue {
115			gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
116			linux,default-trigger = "none";
117		};
118	};
119};
120