aks-cdu.dts (2118B)
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};