Lines Matching +full:sl28cpld +full:- +full:gpio
1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree file for the Kontron SMARC-sAL28 board.
9 /dts-v1/;
10 #include "fsl-ls1028a.dtsi"
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
16 model = "Kontron SMARC-sAL28";
33 compatible = "gpio-keys";
35 power-button {
36 interrupts-extended = <&sl28cpld_intc
42 sleep-button {
43 interrupts-extended = <&sl28cpld_intc
51 compatible = "gpio-keys-polled";
52 poll-interval = <200>;
54 lid-switch {
55 linux,input-type = <EV_SW>;
63 stdout-path = "serial0:115200n8";
84 phy0: ethernet-phy@5 {
86 eee-broken-1000t;
87 eee-broken-100tx;
92 phy-handle = <&phy0>;
93 phy-mode = "sgmii";
94 managed = "in-band-status";
95 nvmem-cells = <&base_mac_address 0>;
96 nvmem-cell-names = "mac-address";
101 sd-uhs-sdr104;
102 sd-uhs-sdr50;
103 sd-uhs-sdr25;
104 sd-uhs-sdr12;
109 mmc-hs200-1_8v;
110 mmc-hs400-1_8v;
111 bus-width = <8>;
119 compatible = "jedec,spi-nor";
120 m25p,fast-read;
121 spi-max-frequency = <133000000>;
123 /* The following setting enables 1-1-2 (CMD-ADDR-DATA) mode */
124 spi-rx-bus-width = <2>; /* 2 SPI Rx lines */
125 spi-tx-bus-width = <1>; /* 1 SPI Tx line */
128 compatible = "fixed-partitions";
129 #address-cells = <1>;
130 #size-cells = <1>;
135 read-only;
141 read-only;
160 otp-1 {
161 compatible = "user-otp";
163 nvmem-layout {
164 compatible = "kontron,sl28-vpd";
166 serial_number: serial-number {
169 base_mac_address: base-mac-address {
170 #nvmem-cell-cells = <1>;
182 gpio-line-names =
190 gpio-line-names =
205 sl28cpld@4a {
206 compatible = "kontron,sl28cpld";
208 #address-cells = <1>;
209 #size-cells = <0>;
212 compatible = "kontron,sl28cpld-wdt";
214 kontron,assert-wdt-timeout-pin;
218 compatible = "kontron,sl28cpld-fan";
223 compatible = "kontron,sl28cpld-pwm";
225 #pwm-cells = <2>;
229 compatible = "kontron,sl28cpld-pwm";
231 #pwm-cells = <2>;
234 sl28cpld_gpio0: gpio@10 {
235 compatible = "kontron,sl28cpld-gpio";
237 interrupts-extended = <&gpio2 6
240 gpio-controller;
241 #gpio-cells = <2>;
242 gpio-line-names =
248 interrupt-controller;
249 #interrupt-cells = <2>;
252 sl28cpld_gpio1: gpio@15 {
253 compatible = "kontron,sl28cpld-gpio";
255 interrupts-extended = <&gpio2 6
258 gpio-controller;
259 #gpio-cells = <2>;
260 gpio-line-names =
264 interrupt-controller;
265 #interrupt-cells = <2>;
268 sl28cpld_gpio2: gpio@1a {
269 compatible = "kontron,sl28cpld-gpo";
272 gpio-controller;
273 #gpio-cells = <2>;
274 gpio-line-names =
278 "LVDS bridge power-down",
283 sl28cpld_gpio3: gpio@1b {
284 compatible = "kontron,sl28cpld-gpi";
287 gpio-controller;
288 #gpio-cells = <2>;
289 gpio-line-names =
295 sl28cpld_intc: interrupt-controller@1c {
296 compatible = "kontron,sl28cpld-intc";
298 interrupts-extended = <&gpio2 6
301 interrupt-controller;
302 #interrupt-cells = <2>;
332 dsa-tag-protocol = "ocelot-8021q";
336 dsa-tag-protocol = "ocelot-8021q";