blob: 5b1bf92d927c1bfa9e1f85b2ced172ff15ca7e27 [file] [log] [blame]
Jiri Prchal3c68bb42012-07-09 10:05:18 +02001/*
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
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +080012#include "ge863-pro3.dtsi"
Jiri Prchal3c68bb42012-07-09 10:05:18 +020013
14/ {
15 chosen {
16 bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs";
17 };
18
Alexandre Bellonic544bc7a2014-07-09 15:22:15 +020019 clocks {
20 slow_xtal {
21 clock-frequency = <32768>;
22 };
23 };
24
Jiri Prchal3c68bb42012-07-09 10:05:18 +020025 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 {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080055 atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>;
Jiri Prchal3c68bb42012-07-09 10:05:18 +020056 status = "okay";
57 };
58 };
59
Raashid Muhammedcfdc7fa2016-06-03 11:45:38 +053060 usb0: ohci@500000 {
Jiri Prchal3c68bb42012-07-09 10:05:18 +020061 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 {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080099 gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
Jiri Prchal3c68bb42012-07-09 10:05:18 +0200100 linux,default-trigger = "none";
101 };
102
103 green {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800104 gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
Jiri Prchal3c68bb42012-07-09 10:05:18 +0200105 linux,default-trigger = "none";
106 default-state = "on";
107 };
108
109 yellow {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800110 gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
Jiri Prchal3c68bb42012-07-09 10:05:18 +0200111 linux,default-trigger = "none";
112 };
113
114 blue {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800115 gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
Jiri Prchal3c68bb42012-07-09 10:05:18 +0200116 linux,default-trigger = "none";
117 };
118 };
119};