Jiri Prchal | 3c68bb4 | 2012-07-09 10:05:18 +0200 | [diff] [blame] | 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 | |
Jean-Christophe PLAGNIOL-VILLARD | 6db64d2 | 2013-05-15 01:21:50 +0800 | [diff] [blame] | 12 | #include "ge863-pro3.dtsi" |
Jiri Prchal | 3c68bb4 | 2012-07-09 10:05:18 +0200 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs"; |
| 17 | }; |
| 18 | |
Alexandre Belloni | c544bc7a | 2014-07-09 15:22:15 +0200 | [diff] [blame] | 19 | clocks { |
| 20 | slow_xtal { |
| 21 | clock-frequency = <32768>; |
| 22 | }; |
| 23 | }; |
| 24 | |
Jiri Prchal | 3c68bb4 | 2012-07-09 10:05:18 +0200 | [diff] [blame] | 25 | 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-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 55 | atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>; |
Jiri Prchal | 3c68bb4 | 2012-07-09 10:05:18 +0200 | [diff] [blame] | 56 | status = "okay"; |
| 57 | }; |
| 58 | }; |
| 59 | |
Raashid Muhammed | cfdc7fa | 2016-06-03 11:45:38 +0530 | [diff] [blame] | 60 | usb0: ohci@500000 { |
Jiri Prchal | 3c68bb4 | 2012-07-09 10:05:18 +0200 | [diff] [blame] | 61 | 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-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 99 | gpios = <&pioC 10 GPIO_ACTIVE_HIGH>; |
Jiri Prchal | 3c68bb4 | 2012-07-09 10:05:18 +0200 | [diff] [blame] | 100 | linux,default-trigger = "none"; |
| 101 | }; |
| 102 | |
| 103 | green { |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 104 | gpios = <&pioA 5 GPIO_ACTIVE_LOW>; |
Jiri Prchal | 3c68bb4 | 2012-07-09 10:05:18 +0200 | [diff] [blame] | 105 | linux,default-trigger = "none"; |
| 106 | default-state = "on"; |
| 107 | }; |
| 108 | |
| 109 | yellow { |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 110 | gpios = <&pioB 20 GPIO_ACTIVE_LOW>; |
Jiri Prchal | 3c68bb4 | 2012-07-09 10:05:18 +0200 | [diff] [blame] | 111 | linux,default-trigger = "none"; |
| 112 | }; |
| 113 | |
| 114 | blue { |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 115 | gpios = <&pioB 21 GPIO_ACTIVE_LOW>; |
Jiri Prchal | 3c68bb4 | 2012-07-09 10:05:18 +0200 | [diff] [blame] | 116 | linux,default-trigger = "none"; |
| 117 | }; |
| 118 | }; |
| 119 | }; |