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