0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * aks-cdu.dts - Device Tree file for AK signal CDU
0004 *
0005 * Copyright (C) 2012 AK signal Brno a.s.
0006 * 2012 Jiri Prchal <jiri.prchal@aksignal.cz>
0007 */
0008
0009 /dts-v1/;
0010
0011 #include "ge863-pro3.dtsi"
0012
0013 / {
0014 chosen {
0015 bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs";
0016 };
0017
0018 clocks {
0019 slow_xtal {
0020 clock-frequency = <32768>;
0021 };
0022 };
0023
0024 ahb {
0025 apb {
0026 usart0: serial@fffb0000 {
0027 status = "okay";
0028 };
0029
0030 usart1: serial@fffb4000 {
0031 status = "okay";
0032 linux,rs485-enabled-at-boot-time;
0033 rs485-rts-delay = <0 0>;
0034 };
0035
0036 usart2: serial@fffb8000 {
0037 status = "okay";
0038 linux,rs485-enabled-at-boot-time;
0039 rs485-rts-delay = <0 0>;
0040 };
0041
0042 usart3: serial@fffd0000 {
0043 status = "okay";
0044 linux,rs485-enabled-at-boot-time;
0045 rs485-rts-delay = <0 0>;
0046 };
0047
0048 macb0: ethernet@fffc4000 {
0049 phy-mode = "rmii";
0050 status = "okay";
0051 };
0052
0053 usb1: gadget@fffa4000 {
0054 atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>;
0055 status = "okay";
0056 };
0057 };
0058
0059 usb0: ohci@500000 {
0060 num-ports = <2>;
0061 status = "okay";
0062 };
0063
0064 ebi: ebi@10000000 {
0065 nand_controller: nand-controller {
0066 nand: nand@3 {
0067 partitions {
0068 bootstrap@0 {
0069 label = "bootstrap";
0070 reg = <0x0 0x40000>;
0071 };
0072
0073 uboot@40000 {
0074 label = "uboot";
0075 reg = <0x40000 0x80000>;
0076 };
0077
0078 ubootenv@c0000 {
0079 label = "ubootenv";
0080 reg = <0xc0000 0x40000>;
0081 };
0082
0083 kernel@100000 {
0084 label = "kernel";
0085 reg = <0x100000 0x400000>;
0086 };
0087
0088 rootfs@500000 {
0089 label = "rootfs";
0090 reg = <0x500000 0x7b00000>;
0091 };
0092 };
0093 };
0094 };
0095 };
0096 };
0097
0098 leds {
0099 compatible = "gpio-leds";
0100
0101 red {
0102 gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
0103 linux,default-trigger = "none";
0104 };
0105
0106 green {
0107 gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
0108 linux,default-trigger = "none";
0109 default-state = "on";
0110 };
0111
0112 yellow {
0113 gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
0114 linux,default-trigger = "none";
0115 };
0116
0117 blue {
0118 gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
0119 linux,default-trigger = "none";
0120 };
0121 };
0122 };