blob: 888bfcd4a402a1149e77a4d58c185622c471c640 [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
Boris Brezillon1004a292017-05-30 11:20:53 +020065 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 };
Jiri Prchal3c68bb42012-07-09 10:05:18 +020073
Boris Brezillon1004a292017-05-30 11:20:53 +020074 uboot@40000 {
75 label = "uboot";
76 reg = <0x40000 0x80000>;
77 };
Jiri Prchal3c68bb42012-07-09 10:05:18 +020078
Boris Brezillon1004a292017-05-30 11:20:53 +020079 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 };
Jiri Prchal3c68bb42012-07-09 10:05:18 +020095 };
96 };
97 };
98
99 leds {
100 compatible = "gpio-leds";
101
102 red {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800103 gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
Jiri Prchal3c68bb42012-07-09 10:05:18 +0200104 linux,default-trigger = "none";
105 };
106
107 green {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800108 gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
Jiri Prchal3c68bb42012-07-09 10:05:18 +0200109 linux,default-trigger = "none";
110 default-state = "on";
111 };
112
113 yellow {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800114 gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
Jiri Prchal3c68bb42012-07-09 10:05:18 +0200115 linux,default-trigger = "none";
116 };
117
118 blue {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800119 gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
Jiri Prchal3c68bb42012-07-09 10:05:18 +0200120 linux,default-trigger = "none";
121 };
122 };
123};