1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 3 * animeo_ip.dts - Device Tree file for Somfy 4 * 5 * Copyright (C) 2011-2012 Jean-Christophe PL< 6 */ 7 8 /dts-v1/; 9 #include "at91sam9260.dtsi" 10 11 / { 12 model = "Somfy Animeo IP"; 13 compatible = "somfy,animeo-ip", "atmel 14 15 aliases { 16 serial0 = &usart1; 17 serial1 = &usart2; 18 serial2 = &usart0; 19 serial3 = &dbgu; 20 serial4 = &usart3; 21 serial5 = &uart0; 22 serial6 = &uart1; 23 }; 24 25 chosen { 26 stdout-path = &usart2; 27 }; 28 29 memory@20000000 { 30 reg = <0x20000000 0x4000000>; 31 }; 32 33 clocks { 34 slow_xtal { 35 clock-frequency = <327 36 }; 37 38 main_xtal { 39 clock-frequency = <184 40 }; 41 }; 42 43 ahb { 44 apb { 45 tcb0: timer@fffa0000 { 46 timer@0 { 47 compat 48 reg = 49 }; 50 51 timer@2 { 52 compat 53 reg = 54 }; 55 }; 56 57 usart0: serial@fffb000 58 pinctrl-0 = <& 59 linux,rs485-en 60 status = "okay 61 }; 62 63 usart1: serial@fffb400 64 pinctrl-0 = <& 65 linux,rs485-en 66 status = "okay 67 }; 68 69 usart2: serial@fffb800 70 pinctrl-0 = <& 71 status = "okay 72 }; 73 74 macb0: ethernet@fffc40 75 pinctrl-0 = <& 76 phy-mode = "mi 77 status = "okay 78 }; 79 80 mmc0: mmc@fffa8000 { 81 pinctrl-0 = <& 82 & 83 & 84 pinctrl-names 85 status = "okay 86 87 slot@1 { 88 reg = 89 bus-wi 90 }; 91 }; 92 93 watchdog@fffffd40 { 94 status = "okay 95 }; 96 }; 97 98 ebi: ebi@10000000 { 99 status = "okay"; 100 101 nand_controller: nand- 102 status = "okay 103 pinctrl-0 = <& 104 pinctrl-names 105 106 nand@3 { 107 reg = 108 rb-gpi 109 cs-gpi 110 nand-b 111 nand-e 112 nand-o 113 label 114 115 partit 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 }; 135 }; 136 }; 137 }; 138 139 usb0: ohci@500000 { 140 num-ports = <2>; 141 atmel,vbus-gpio = <&pi 142 status = "okay"; 143 }; 144 }; 145 146 leds { 147 compatible = "gpio-leds"; 148 149 power_green { 150 label = "power_green"; 151 gpios = <&pioC 17 GPIO 152 linux,default-trigger 153 }; 154 155 power_red { 156 label = "power_red"; 157 gpios = <&pioA 2 GPIO_ 158 }; 159 160 tx_green { 161 label = "tx_green"; 162 gpios = <&pioC 19 GPIO 163 }; 164 165 tx_red { 166 label = "tx_red"; 167 gpios = <&pioC 18 GPIO 168 }; 169 }; 170 171 gpio-keys { 172 compatible = "gpio-keys"; 173 174 key-switch-in { 175 label = "keyswitch_in" 176 gpios = <&pioB 1 GPIO_ 177 linux,code = <28>; 178 wakeup-source; 179 }; 180 181 key-error-in { 182 label = "error_in"; 183 gpios = <&pioB 2 GPIO_ 184 linux,code = <29>; 185 wakeup-source; 186 }; 187 188 key-s { 189 label = "btn"; 190 gpios = <&pioC 23 GPIO 191 linux,code = <31>; 192 wakeup-source; 193 }; 194 }; 195 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.