GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / aks-cdu.dts
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@500000 {
61                         num-ports = <2>;
62                         status = "okay";
63                 };
64
65                 ebi: ebi@10000000 {
66                         nand_controller: nand-controller {
67                                 nand: nand@3 {
68                                         partitions {
69                                                 bootstrap@0 {
70                                                         label = "bootstrap";
71                                                         reg = <0x0 0x40000>;
72                                                 };
73
74                                                 uboot@40000 {
75                                                         label = "uboot";
76                                                         reg = <0x40000 0x80000>;
77                                                 };
78
79                                                 ubootenv@c0000 {
80                                                         label = "ubootenv";
81                                                         reg = <0xc0000 0x40000>;
82                                                 };
83
84                                                 kernel@100000 {
85                                                         label = "kernel";
86                                                         reg = <0x100000 0x400000>;
87                                                 };
88
89                                                 rootfs@500000 {
90                                                         label = "rootfs";
91                                                         reg = <0x500000 0x7b00000>;
92                                                 };
93                                         };
94                                 };
95                         };
96                 };
97         };
98
99         leds {
100                 compatible = "gpio-leds";
101
102                 red {
103                         gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
104                         linux,default-trigger = "none";
105                 };
106
107                 green {
108                         gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
109                         linux,default-trigger = "none";
110                         default-state = "on";
111                 };
112
113                 yellow {
114                         gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
115                         linux,default-trigger = "none";
116                 };
117
118                 blue {
119                         gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
120                         linux,default-trigger = "none";
121                 };
122         };
123 };