Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree file for D-Link DIR-685 Xtreme N Storage Router |
| 3 | */ |
| 4 | |
| 5 | /dts-v1/; |
| 6 | |
| 7 | #include "gemini.dtsi" |
| 8 | #include <dt-bindings/input/input.h> |
| 9 | |
| 10 | / { |
| 11 | model = "D-Link DIR-685 Xtreme N Storage Router"; |
| 12 | compatible = "dlink,dir-685", "cortina,gemini"; |
| 13 | #address-cells = <1>; |
| 14 | #size-cells = <1>; |
| 15 | |
Linus Walleij | e7c8815 | 2018-05-06 15:39:00 +0200 | [diff] [blame] | 16 | memory@0 { |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 17 | /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */ |
| 18 | device_type = "memory"; |
| 19 | reg = <0x00000000 0x8000000>; |
| 20 | }; |
| 21 | |
| 22 | chosen { |
Linus Walleij | cf18ea7 | 2018-08-27 00:10:39 +0200 | [diff] [blame] | 23 | bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait consoleblank=300"; |
Linus Walleij | 0d6ce77 | 2018-05-02 09:17:25 +0200 | [diff] [blame] | 24 | stdout-path = "uart0:19200n8"; |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | gpio_keys { |
| 28 | compatible = "gpio-keys"; |
Linus Walleij | e7c8815 | 2018-05-06 15:39:00 +0200 | [diff] [blame] | 29 | |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 30 | button-esc { |
Linus Walleij | f18fd0f | 2018-08-26 12:45:05 +0200 | [diff] [blame] | 31 | debounce-interval = <100>; |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 32 | wakeup-source; |
| 33 | linux,code = <KEY_ESC>; |
| 34 | label = "reset"; |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 35 | /* Collides with LPC_LAD[0], UART DCD, SSP 97RST */ |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 36 | gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; |
| 37 | }; |
| 38 | button-eject { |
Linus Walleij | f18fd0f | 2018-08-26 12:45:05 +0200 | [diff] [blame] | 39 | debounce-interval = <100>; |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 40 | wakeup-source; |
| 41 | linux,code = <KEY_EJECTCD>; |
| 42 | label = "unmount"; |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 43 | /* Collides with LPC LFRAME, UART RTS, SSP TXD */ |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 44 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
| 45 | }; |
| 46 | }; |
| 47 | |
Linus Walleij | ea6f23f | 2017-07-15 21:02:06 +0200 | [diff] [blame] | 48 | vdisp: regulator { |
| 49 | compatible = "regulator-fixed"; |
| 50 | regulator-name = "display-power"; |
| 51 | regulator-min-microvolt = <3600000>; |
| 52 | regulator-max-microvolt = <3600000>; |
| 53 | /* Collides with LCD E */ |
| 54 | gpio = <&gpio0 16 GPIO_ACTIVE_HIGH>; |
| 55 | enable-active-high; |
| 56 | }; |
| 57 | |
| 58 | spi { |
| 59 | compatible = "spi-gpio"; |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <0>; |
| 62 | |
| 63 | /* Collides with IDE pins, that's cool (we do not use them) */ |
Corentin Labbe | 7d6c9ee | 2021-05-18 18:53:53 +0000 | [diff] [blame] | 64 | sck-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; |
| 65 | miso-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; |
| 66 | mosi-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; |
Linus Walleij | f90b8fd | 2019-07-15 22:21:01 +0200 | [diff] [blame] | 67 | cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; |
Linus Walleij | ea6f23f | 2017-07-15 21:02:06 +0200 | [diff] [blame] | 68 | num-chipselects = <1>; |
| 69 | |
| 70 | panel: display@0 { |
| 71 | compatible = "dlink,dir-685-panel", "ilitek,ili9322"; |
| 72 | reg = <0>; |
| 73 | /* 50 ns min period = 20 MHz */ |
| 74 | spi-max-frequency = <20000000>; |
Linus Walleij | ea6f23f | 2017-07-15 21:02:06 +0200 | [diff] [blame] | 75 | vcc-supply = <&vdisp>; |
| 76 | iovcc-supply = <&vdisp>; |
| 77 | vci-supply = <&vdisp>; |
| 78 | |
| 79 | port { |
| 80 | panel_in: endpoint { |
| 81 | remote-endpoint = <&display_out>; |
| 82 | }; |
| 83 | }; |
| 84 | }; |
| 85 | }; |
| 86 | |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 87 | leds { |
| 88 | compatible = "gpio-leds"; |
| 89 | led-wps { |
| 90 | label = "dir685:blue:WPS"; |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 91 | /* Collides with ICE */ |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 92 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
| 93 | default-state = "on"; |
| 94 | linux,default-trigger = "heartbeat"; |
| 95 | }; |
| 96 | /* |
| 97 | * These two LEDs are on the side of the device. |
| 98 | * For electrical reasons, both LEDs cannot be active |
Linus Walleij | 8cb2459 | 2018-04-11 15:58:24 +0200 | [diff] [blame] | 99 | * at the same time so only blue or orange can be on at |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 100 | * one time. Enabling both makes the LED go dark. |
| 101 | * The LEDs both sit inside the unmount button and the |
| 102 | * label on the case says "unmount". |
| 103 | */ |
| 104 | led-blue-hd { |
| 105 | label = "dir685:blue:HD"; |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 106 | /* Collides with LPC_SERIRQ, UART DTR, SSP FSC pins */ |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 107 | gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; |
| 108 | default-state = "off"; |
Linus Walleij | 8cb2459 | 2018-04-11 15:58:24 +0200 | [diff] [blame] | 109 | linux,default-trigger = "disk-read"; |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 110 | }; |
| 111 | led-orange-hd { |
| 112 | label = "dir685:orange:HD"; |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 113 | /* Collides with LPC_LAD[2], UART DSR, SSP ECLK pins */ |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 114 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; |
| 115 | default-state = "off"; |
Linus Walleij | 8cb2459 | 2018-04-11 15:58:24 +0200 | [diff] [blame] | 116 | linux,default-trigger = "disk-write"; |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 117 | }; |
| 118 | }; |
| 119 | |
| 120 | /* |
| 121 | * This is a Sunon Maglev GM0502PFV2-8 cooling fan @10000 RPM. |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 122 | * sensor. It is turned on when the temperature exceeds 46 degrees |
| 123 | * and turned off when the temperatures goes below 41 degrees |
| 124 | * (celsius). |
| 125 | */ |
Linus Walleij | 6e97f0a | 2019-12-31 18:18:08 +0100 | [diff] [blame] | 126 | fan0: gpio-fan { |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 127 | compatible = "gpio-fan"; |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 128 | /* Collides with IDE */ |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 129 | gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; |
| 130 | gpio-fan,speed-map = <0 0>, <10000 1>; |
| 131 | #cooling-cells = <2>; |
| 132 | }; |
| 133 | |
Linus Walleij | 6e97f0a | 2019-12-31 18:18:08 +0100 | [diff] [blame] | 134 | thermal-zones { |
| 135 | chassis-thermal { |
| 136 | /* Poll every 20 seconds */ |
| 137 | polling-delay = <20000>; |
| 138 | /* Poll every 2nd second when cooling */ |
| 139 | polling-delay-passive = <2000>; |
| 140 | /* Use the thermal sensor in the hard drive */ |
| 141 | thermal-sensors = <&drive0>; |
| 142 | |
| 143 | /* Tripping points from the fan.script in the rootfs */ |
| 144 | trips { |
| 145 | alert: chassis-alert { |
| 146 | /* At 43 degrees turn on the fan */ |
| 147 | temperature = <43000>; |
| 148 | hysteresis = <3000>; |
| 149 | type = "active"; |
| 150 | }; |
| 151 | crit: chassis-crit { |
| 152 | /* Just shut down at 60 degrees */ |
| 153 | temperature = <60000>; |
| 154 | hysteresis = <2000>; |
| 155 | type = "critical"; |
| 156 | }; |
| 157 | }; |
| 158 | |
| 159 | cooling-maps { |
| 160 | map0 { |
| 161 | trip = <&alert>; |
| 162 | cooling-device = <&fan0 1 1>; |
| 163 | }; |
| 164 | }; |
| 165 | }; |
| 166 | }; |
| 167 | |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 168 | /* |
| 169 | * The touchpad input is connected to a GPIO bit-banged |
| 170 | * I2C bus. |
| 171 | */ |
Corentin Labbe | 30639b8 | 2021-05-21 19:35:40 +0000 | [diff] [blame] | 172 | i2c { |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 173 | compatible = "i2c-gpio"; |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 174 | /* Collides with ICE */ |
Linus Walleij | 8632a66 | 2017-09-10 20:02:33 +0200 | [diff] [blame] | 175 | sda-gpios = <&gpio0 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; |
| 176 | scl-gpios = <&gpio0 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 177 | #address-cells = <1>; |
| 178 | #size-cells = <0>; |
| 179 | |
| 180 | touchkeys@26 { |
| 181 | compatible = "dlink,dir685-touchkeys"; |
| 182 | reg = <0x26>; |
| 183 | interrupt-parent = <&gpio0>; |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 184 | /* Collides with NAND flash */ |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 185 | interrupts = <17 IRQ_TYPE_EDGE_FALLING>; |
| 186 | }; |
| 187 | }; |
| 188 | |
Linus Walleij | 22a001e | 2018-07-14 11:45:56 +0200 | [diff] [blame] | 189 | /* This is a RealTek RTL8366RB switch and PHY using SMI over GPIO */ |
| 190 | switch { |
| 191 | compatible = "realtek,rtl8366rb"; |
| 192 | /* 22 = MDIO (has input reads), 21 = MDC (clock, output only) */ |
| 193 | mdc-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>; |
| 194 | mdio-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; |
| 195 | reset-gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
| 196 | realtek,disable-leds; |
| 197 | |
| 198 | switch_intc: interrupt-controller { |
| 199 | /* GPIO 15 provides the interrupt */ |
| 200 | interrupt-parent = <&gpio0>; |
| 201 | interrupts = <15 IRQ_TYPE_LEVEL_LOW>; |
| 202 | interrupt-controller; |
| 203 | #address-cells = <0>; |
| 204 | #interrupt-cells = <1>; |
| 205 | }; |
| 206 | |
| 207 | ports { |
| 208 | #address-cells = <1>; |
| 209 | #size-cells = <0>; |
| 210 | |
| 211 | port@0 { |
| 212 | reg = <0>; |
| 213 | label = "lan0"; |
| 214 | phy-handle = <&phy0>; |
| 215 | }; |
| 216 | port@1 { |
| 217 | reg = <1>; |
| 218 | label = "lan1"; |
| 219 | phy-handle = <&phy1>; |
| 220 | }; |
| 221 | port@2 { |
| 222 | reg = <2>; |
| 223 | label = "lan2"; |
| 224 | phy-handle = <&phy2>; |
| 225 | }; |
| 226 | port@3 { |
| 227 | reg = <3>; |
| 228 | label = "lan3"; |
| 229 | phy-handle = <&phy3>; |
| 230 | }; |
| 231 | port@4 { |
| 232 | reg = <4>; |
| 233 | label = "wan"; |
| 234 | phy-handle = <&phy4>; |
| 235 | }; |
| 236 | rtl8366rb_cpu_port: port@5 { |
| 237 | reg = <5>; |
| 238 | label = "cpu"; |
| 239 | ethernet = <&gmac0>; |
| 240 | phy-mode = "rgmii"; |
| 241 | fixed-link { |
| 242 | speed = <1000>; |
| 243 | full-duplex; |
| 244 | pause; |
| 245 | }; |
| 246 | }; |
| 247 | |
| 248 | }; |
| 249 | |
| 250 | mdio { |
| 251 | compatible = "realtek,smi-mdio"; |
| 252 | #address-cells = <1>; |
| 253 | #size-cells = <0>; |
| 254 | |
| 255 | phy0: phy@0 { |
| 256 | reg = <0>; |
| 257 | interrupt-parent = <&switch_intc>; |
| 258 | interrupts = <0>; |
| 259 | }; |
| 260 | phy1: phy@1 { |
| 261 | reg = <1>; |
| 262 | interrupt-parent = <&switch_intc>; |
| 263 | interrupts = <1>; |
| 264 | }; |
| 265 | phy2: phy@2 { |
| 266 | reg = <2>; |
| 267 | interrupt-parent = <&switch_intc>; |
| 268 | interrupts = <2>; |
| 269 | }; |
| 270 | phy3: phy@3 { |
| 271 | reg = <3>; |
| 272 | interrupt-parent = <&switch_intc>; |
| 273 | interrupts = <3>; |
| 274 | }; |
| 275 | phy4: phy@4 { |
| 276 | reg = <4>; |
| 277 | interrupt-parent = <&switch_intc>; |
| 278 | interrupts = <12>; |
| 279 | }; |
| 280 | }; |
| 281 | }; |
| 282 | |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 283 | soc { |
| 284 | flash@30000000 { |
Linus Walleij | ea6f23f | 2017-07-15 21:02:06 +0200 | [diff] [blame] | 285 | /* |
Linus Walleij | 137cd71 | 2018-10-11 20:06:23 +0200 | [diff] [blame] | 286 | * Flash access collides with the Chip Enable signal for |
| 287 | * the display panel, that reuse the parallel flash Chip |
| 288 | * Select 1 (CS1). We switch the pin control state so we |
| 289 | * enable these pins for flash access only when we need |
| 290 | * then, and when disabled they can be used for GPIO which |
| 291 | * is what the display panel needs. |
Linus Walleij | ea6f23f | 2017-07-15 21:02:06 +0200 | [diff] [blame] | 292 | */ |
Linus Walleij | 137cd71 | 2018-10-11 20:06:23 +0200 | [diff] [blame] | 293 | status = "okay"; |
| 294 | pinctrl-names = "enabled", "disabled"; |
| 295 | pinctrl-0 = <&pflash_default_pins>; |
| 296 | pinctrl-1 = <&pflash_disabled_pins>; |
| 297 | |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 298 | /* 32MB of flash */ |
| 299 | reg = <0x30000000 0x02000000>; |
| 300 | |
Linus Walleij | 44b9c8e | 2019-04-27 11:54:51 +0200 | [diff] [blame] | 301 | partitions { |
| 302 | compatible = "fixed-partitions"; |
| 303 | #address-cells = <1>; |
| 304 | #size-cells = <1>; |
| 305 | |
| 306 | /* |
| 307 | * This "RedBoot" is the Storlink derivative. |
| 308 | */ |
| 309 | partition@0 { |
| 310 | label = "RedBoot"; |
| 311 | reg = <0x00000000 0x00040000>; |
| 312 | read-only; |
| 313 | }; |
| 314 | /* |
| 315 | * This firmware image contains the kernel catenated |
| 316 | * with the squashfs root filesystem. For some reason |
| 317 | * this is called "upgrade" on the vendor system. |
| 318 | */ |
| 319 | partition@40000 { |
| 320 | label = "upgrade"; |
| 321 | reg = <0x00040000 0x01f40000>; |
| 322 | read-only; |
| 323 | }; |
| 324 | /* RGDB, Residental Gateway Database? */ |
| 325 | partition@1f80000 { |
| 326 | label = "rgdb"; |
| 327 | reg = <0x01f80000 0x00040000>; |
| 328 | read-only; |
| 329 | }; |
| 330 | /* |
| 331 | * This partition contains MAC addresses for WAN, |
| 332 | * WLAN and LAN, and the country code (for wireless |
| 333 | * I guess). |
| 334 | */ |
| 335 | partition@1fc0000 { |
| 336 | label = "nvram"; |
| 337 | reg = <0x01fc0000 0x00020000>; |
| 338 | read-only; |
| 339 | }; |
| 340 | partition@1fe0000 { |
| 341 | label = "LangPack"; |
| 342 | reg = <0x01fe0000 0x00020000>; |
| 343 | read-only; |
| 344 | }; |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 345 | }; |
| 346 | }; |
| 347 | |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 348 | syscon: syscon@40000000 { |
| 349 | pinctrl { |
| 350 | /* |
| 351 | * gpio0bgrp cover line 5, 6 used by TK I2C |
| 352 | * gpio0bgrp cover line 7 used by WPS LED |
| 353 | * gpio0cgrp cover line 8, 13 used by keys |
| 354 | * and 11, 12 used by the HD LEDs |
Linus Walleij | 22a001e | 2018-07-14 11:45:56 +0200 | [diff] [blame] | 355 | * and line 14, 15 used by RTL8366 |
| 356 | * RESET and phy ready |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 357 | * gpio0egrp cover line 16 used by VDISP |
| 358 | * gpio0fgrp cover line 17 used by TK IRQ |
| 359 | * gpio0ggrp cover line 20 used by panel CS |
Linus Walleij | 22a001e | 2018-07-14 11:45:56 +0200 | [diff] [blame] | 360 | * gpio0hgrp cover line 21,22 used by RTL8366RB MDIO |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 361 | */ |
| 362 | gpio0_default_pins: pinctrl-gpio0 { |
| 363 | mux { |
| 364 | function = "gpio0"; |
| 365 | groups = "gpio0bgrp", |
| 366 | "gpio0cgrp", |
| 367 | "gpio0egrp", |
| 368 | "gpio0fgrp", |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 369 | "gpio0hgrp"; |
| 370 | }; |
| 371 | }; |
| 372 | /* |
| 373 | * gpio1bgrp cover line 5,8,7 used by panel SPI |
| 374 | * also line 6 used by the fan |
| 375 | * |
| 376 | */ |
| 377 | gpio1_default_pins: pinctrl-gpio1 { |
| 378 | mux { |
| 379 | function = "gpio1"; |
| 380 | groups = "gpio1bgrp"; |
| 381 | }; |
| 382 | }; |
Linus Walleij | 137cd71 | 2018-10-11 20:06:23 +0200 | [diff] [blame] | 383 | /* |
| 384 | * These GPIO groups will be mapped in over some |
| 385 | * of the flash pins when the flash is not in |
| 386 | * active use. |
| 387 | */ |
| 388 | pflash_disabled_pins: pinctrl-pflash-disabled { |
| 389 | mux { |
| 390 | function = "gpio0"; |
| 391 | groups = "gpio0ggrp", "gpio0igrp", "gpio0jgrp", |
| 392 | "gpio0kgrp"; |
| 393 | }; |
| 394 | }; |
Linus Walleij | 22a001e | 2018-07-14 11:45:56 +0200 | [diff] [blame] | 395 | pinctrl-gmii { |
| 396 | mux { |
| 397 | function = "gmii"; |
| 398 | groups = "gmii_gmac0_grp"; |
| 399 | }; |
| 400 | conf0 { |
| 401 | pins = "V8 GMAC0 RXDV", "T10 GMAC1 RXDV", |
| 402 | "Y7 GMAC0 RXC", "Y11 GMAC1 RXC", |
| 403 | "T8 GMAC0 TXEN", "W11 GMAC1 TXEN", |
| 404 | "U8 GMAC0 TXC", "V11 GMAC1 TXC", |
| 405 | "W8 GMAC0 RXD0", "V9 GMAC0 RXD1", |
| 406 | "Y8 GMAC0 RXD2", "U9 GMAC0 RXD3", |
| 407 | "T7 GMAC0 TXD0", "U6 GMAC0 TXD1", |
| 408 | "V7 GMAC0 TXD2", "U7 GMAC0 TXD3", |
| 409 | "Y12 GMAC1 RXD0", "V12 GMAC1 RXD1", |
| 410 | "T11 GMAC1 RXD2", "W12 GMAC1 RXD3", |
| 411 | "U10 GMAC1 TXD0", "Y10 GMAC1 TXD1", |
| 412 | "W10 GMAC1 TXD2", "T9 GMAC1 TXD3"; |
| 413 | skew-delay = <7>; |
| 414 | }; |
| 415 | /* Set up drive strength on GMAC0 to 16 mA */ |
| 416 | conf1 { |
| 417 | groups = "gmii_gmac0_grp"; |
| 418 | drive-strength = <16>; |
| 419 | }; |
| 420 | }; |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 421 | }; |
| 422 | }; |
| 423 | |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 424 | sata: sata@46000000 { |
| 425 | cortina,gemini-ata-muxmode = <0>; |
| 426 | cortina,gemini-enable-sata-bridge; |
| 427 | status = "okay"; |
| 428 | }; |
| 429 | |
Linus Walleij | f328c2e | 2017-07-05 16:59:33 +0200 | [diff] [blame] | 430 | gpio0: gpio@4d000000 { |
| 431 | pinctrl-names = "default"; |
| 432 | pinctrl-0 = <&gpio0_default_pins>; |
| 433 | }; |
| 434 | |
| 435 | gpio1: gpio@4e000000 { |
| 436 | pinctrl-names = "default"; |
| 437 | pinctrl-0 = <&gpio1_default_pins>; |
| 438 | }; |
| 439 | |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 440 | pci@50000000 { |
| 441 | status = "okay"; |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 442 | }; |
| 443 | |
Linus Walleij | 22a001e | 2018-07-14 11:45:56 +0200 | [diff] [blame] | 444 | ethernet@60000000 { |
| 445 | status = "okay"; |
| 446 | |
| 447 | ethernet-port@0 { |
| 448 | phy-mode = "rgmii"; |
| 449 | fixed-link { |
| 450 | speed = <1000>; |
| 451 | full-duplex; |
| 452 | pause; |
| 453 | }; |
| 454 | }; |
| 455 | ethernet-port@1 { |
| 456 | /* Not used in this platform */ |
| 457 | }; |
| 458 | }; |
| 459 | |
Linus Walleij | 67ac654 | 2019-12-31 18:14:28 +0100 | [diff] [blame] | 460 | ide@63000000 { |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 461 | status = "okay"; |
Linus Walleij | 6e97f0a | 2019-12-31 18:18:08 +0100 | [diff] [blame] | 462 | |
| 463 | /* |
| 464 | * This drive may have a temperature sensor with a |
| 465 | * thermal zone we can use for thermal control of the |
| 466 | * chassis temperature using the fan. |
| 467 | */ |
| 468 | drive0: ide-port@0 { |
| 469 | reg = <0>; |
| 470 | #thermal-sensor-cells = <0>; |
| 471 | }; |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 472 | }; |
Linus Walleij | ea6f23f | 2017-07-15 21:02:06 +0200 | [diff] [blame] | 473 | |
| 474 | display-controller@6a000000 { |
Linus Walleij | 014e90c | 2019-02-24 00:04:52 +0100 | [diff] [blame] | 475 | status = "okay"; |
Linus Walleij | ea6f23f | 2017-07-15 21:02:06 +0200 | [diff] [blame] | 476 | |
Corentin Labbe | 4bad54a | 2021-05-19 20:35:46 +0000 | [diff] [blame] | 477 | port { |
Linus Walleij | ea6f23f | 2017-07-15 21:02:06 +0200 | [diff] [blame] | 478 | display_out: endpoint { |
| 479 | remote-endpoint = <&panel_in>; |
| 480 | }; |
| 481 | }; |
| 482 | }; |
Linus Walleij | d6d0cef | 2017-04-21 20:50:22 +0200 | [diff] [blame] | 483 | |
| 484 | usb@68000000 { |
| 485 | status = "okay"; |
| 486 | }; |
| 487 | |
| 488 | usb@69000000 { |
| 489 | status = "okay"; |
| 490 | }; |
Linus Walleij | 22789ae | 2017-04-29 22:39:11 +0200 | [diff] [blame] | 491 | }; |
| 492 | }; |