Lines Matching +full:init +full:- +full:b +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 * Copyright (C) 2016 Uwe Kleine-König <uwe@kleine-koenig.org>
8 * Schematic available at https://www.turris.cz/doc/_media/rtrom01-schema.pdf
11 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/leds/common.h>
16 #include "armada-385.dtsi"
20 compatible = "cznic,turris-omnia", "marvell,armada385", "marvell,armada380";
23 stdout-path = &uart0;
44 internal-regs {
56 pinctrl-names = "default";
57 pinctrl-0 = <&sdhci_pins>;
60 bus-width = <8>;
61 no-1-8-v;
62 non-removable;
80 slot-power-limit-milliwatt = <10000>;
86 slot-power-limit-milliwatt = <10000>;
92 slot-power-limit-milliwatt = <10000>;
99 i2c-bus = <&sfp_i2c>;
100 tx-fault-gpios = <&pcawan 0 GPIO_ACTIVE_HIGH>;
101 tx-disable-gpios = <&pcawan 1 GPIO_ACTIVE_HIGH>;
102 rate-select0-gpios = <&pcawan 2 GPIO_ACTIVE_HIGH>;
103 los-gpios = <&pcawan 3 GPIO_ACTIVE_HIGH>;
104 mod-def0-gpios = <&pcawan 4 GPIO_ACTIVE_LOW>;
105 maximum-power-milliwatt = <3000>;
108 * For now this has to be enabled at boot time by U-Boot when
115 gpio-keys {
116 compatible = "gpio-keys";
118 front-button {
121 linux,can-disable;
122 gpios = <&mcu 0 12 GPIO_ACTIVE_HIGH>;
124 debounce-interval = <0>;
129 compatible = "simple-audio-card";
130 simple-audio-card,name = "SPDIF";
131 simple-audio-card,format = "i2s";
133 simple-audio-card,cpu {
134 sound-dai = <&audio_controller 1>;
137 simple-audio-card,codec {
138 sound-dai = <&spdif_out>;
142 spdif_out: spdif-out {
143 #sound-dai-cells = <0>;
144 compatible = "linux,spdif-dit";
150 pinctrl-0 = <&spdif_pins>;
151 pinctrl-names = "default";
152 spdif-mode;
166 pinctrl-names = "default";
167 pinctrl-0 = <&ge0_rgmii_pins>;
169 phy-mode = "rgmii";
170 buffer-manager = <&bm>;
171 bm,pool-long = <0>;
172 bm,pool-short = <3>;
174 fixed-link {
176 full-duplex;
182 pinctrl-names = "default";
183 pinctrl-0 = <&ge1_rgmii_pins>;
185 phy-mode = "rgmii";
186 buffer-manager = <&bm>;
187 bm,pool-long = <1>;
188 bm,pool-short = <3>;
190 fixed-link {
192 full-duplex;
200 * ethernet-phy@1. The multiplexor switches the signal to SFP cage when
201 * a SFP module is present, as determined by the mode-def0 GPIO.
204 * is present, U-Boot has to enable the sfp node above, remove phy
205 * handle and add managed = "in-band-status" property.
208 phy-mode = "sgmii";
209 phy-handle = <&phy1>;
212 buffer-manager = <&bm>;
213 bm,pool-long = <2>;
214 bm,pool-short = <3>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&i2c0_pins>;
225 #address-cells = <1>;
226 #size-cells = <0>;
230 #address-cells = <1>;
231 #size-cells = <0>;
234 mcu: system-controller@2a {
235 compatible = "cznic,turris-omnia-mcu";
238 pinctrl-names = "default";
239 pinctrl-0 = <&mcu_pins>;
241 interrupt-parent = <&gpio1>;
244 gpio-controller;
245 #gpio-cells = <3>;
247 interrupt-controller;
248 #interrupt-cells = <2>;
251 led-controller@2b {
252 compatible = "cznic,turris-omnia-leds";
254 #address-cells = <1>;
255 #size-cells = <0>;
263 * - there are 3 LEDs connected via MCU to PCIe
269 * - there are 2 LEDs dedicated for user: A and
270 * B. Again there is no such function defined.
274 multi-led@0 {
278 function-enumerator = <2>;
281 multi-led@1 {
285 function-enumerator = <1>;
288 multi-led@2 {
292 function-enumerator = <3>;
295 multi-led@3 {
299 function-enumerator = <2>;
302 multi-led@4 {
306 function-enumerator = <1>;
309 multi-led@5 {
315 multi-led@6 {
319 function-enumerator = <4>;
322 multi-led@7 {
326 function-enumerator = <3>;
329 multi-led@8 {
333 function-enumerator = <2>;
336 multi-led@9 {
340 function-enumerator = <1>;
343 multi-led@a {
347 function-enumerator = <0>;
350 multi-led@b {
374 #address-cells = <1>;
375 #size-cells = <0>;
382 #address-cells = <1>;
383 #size-cells = <0>;
390 #address-cells = <1>;
391 #size-cells = <0>;
398 #address-cells = <1>;
399 #size-cells = <0>;
406 #address-cells = <1>;
407 #size-cells = <0>;
410 /* ATSHA204A-MAHDA-T crypto module */
418 #address-cells = <1>;
419 #size-cells = <0>;
426 #address-cells = <1>;
427 #size-cells = <0>;
438 pinctrl-names = "default";
439 pinctrl-0 = <&pcawan_pins>;
441 interrupt-parent = <&gpio1>;
444 gpio-controller;
445 #gpio-cells = <2>;
452 pinctrl-names = "default";
453 pinctrl-0 = <&mdio_pins>;
456 phy1: ethernet-phy@1 {
457 compatible = "ethernet-phy-ieee802.3-c22";
459 marvell,reg-init = <3 18 0 0x4985>,
466 ethernet-switch@10 {
467 pinctrl-names = "default";
468 pinctrl-0 = <&swint_pins>;
474 interrupt-parent = <&gpio1>;
477 ethernet-ports {
478 #address-cells = <1>;
479 #size-cells = <0>;
481 ethernet-port@0 {
486 ethernet-port@1 {
491 ethernet-port@2 {
496 ethernet-port@3 {
501 ethernet-port@4 {
506 ethernet-port@5 {
509 phy-mode = "rgmii-id";
511 fixed-link {
513 full-duplex;
517 ethernet-port@6 {
520 phy-mode = "rgmii-id";
522 fixed-link {
524 full-duplex;
532 mcu_pins: mcu-pins {
537 pcawan_pins: pcawan-pins {
542 swint_pins: swint-pins {
547 spi0cs0_pins: spi0cs0-pins {
552 spi0cs2_pins: spi0cs2-pins {
559 pinctrl-names = "default";
560 pinctrl-0 = <&spi0_pins &spi0cs0_pins>;
564 compatible = "spansion,s25fl164k", "jedec,spi-nor";
565 #address-cells = <1>;
566 #size-cells = <1>;
568 spi-max-frequency = <40000000>;
571 compatible = "fixed-partitions";
572 #address-cells = <1>;
573 #size-cells = <1>;
577 label = "U-Boot";
592 pinctrl-names = "default";
593 pinctrl-0 = <&uart0_pins>;
599 pinctrl-names = "default";
600 pinctrl-0 = <&uart1_pins>;