1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/clk/ti-dra7-atl.h>
8 #include <dt-bindings/input/input.h>
15 extcon_usb1: extcon_usb1 {
16 compatible = "linux,extcon-usb-gpio";
17 id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
20 extcon_usb2: extcon_usb2 {
21 compatible = "linux,extcon-usb-gpio";
22 id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>;
26 compatible = "simple-audio-card";
27 simple-audio-card,name = "DRA7xx-EVM";
28 simple-audio-card,widgets =
29 "Headphone", "Headphone Jack",
31 "Microphone", "Mic Jack",
33 simple-audio-card,routing =
34 "Headphone Jack", "HPLOUT",
35 "Headphone Jack", "HPROUT",
40 "Mic Jack", "Mic Bias",
43 simple-audio-card,format = "dsp_b";
44 simple-audio-card,bitclock-master = <&sound0_master>;
45 simple-audio-card,frame-master = <&sound0_master>;
46 simple-audio-card,bitclock-inversion;
48 sound0_master: simple-audio-card,cpu {
49 sound-dai = <&mcasp3>;
50 system-clock-frequency = <5644800>;
53 simple-audio-card,codec {
54 sound-dai = <&tlv320aic3106>;
55 clocks = <&atl_clkin2_ck>;
60 compatible = "gpio-leds";
63 gpios = <&pcf_lcd 4 GPIO_ACTIVE_LOW>;
64 default-state = "off";
69 gpios = <&pcf_lcd 5 GPIO_ACTIVE_LOW>;
70 default-state = "off";
75 gpios = <&pcf_lcd 6 GPIO_ACTIVE_LOW>;
76 default-state = "off";
81 gpios = <&pcf_lcd 7 GPIO_ACTIVE_LOW>;
82 default-state = "off";
87 compatible = "gpio-keys";
95 gpios = <&pcf_lcd 2 GPIO_ACTIVE_LOW>;
100 linux,code = <BTN_1>;
101 gpios = <&pcf_lcd 3 GPIO_ACTIVE_LOW>;
108 clock-frequency = <400000>;
121 interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
122 <&dra7_pmx_core 0x3e0>;
136 spi-max-frequency = <76800000>;
138 compatible = "s25fl256s1";
139 spi-max-frequency = <76800000>;
141 spi-tx-bus-width = <1>;
142 spi-rx-bus-width = <4>;
143 #address-cells = <1>;
146 /* MTD partition table.
147 * The ROM checks the first four physical blocks
148 * for a valid file to boot and the flash here is
153 reg = <0x00000000 0x000010000>;
156 label = "QSPI.SPL.backup1";
157 reg = <0x00010000 0x00010000>;
160 label = "QSPI.SPL.backup2";
161 reg = <0x00020000 0x00010000>;
164 label = "QSPI.SPL.backup3";
165 reg = <0x00030000 0x00010000>;
168 label = "QSPI.u-boot";
169 reg = <0x00040000 0x00100000>;
172 label = "QSPI.u-boot-spl-os";
173 reg = <0x00140000 0x00080000>;
176 label = "QSPI.u-boot-env";
177 reg = <0x001c0000 0x00010000>;
180 label = "QSPI.u-boot-env.backup1";
181 reg = <0x001d0000 0x0010000>;
184 label = "QSPI.kernel";
185 reg = <0x001e0000 0x0800000>;
188 label = "QSPI.file-system";
189 reg = <0x009e0000 0x01620000>;
195 extcon = <&extcon_usb1>;
200 extcon = <&extcon_usb1>;
204 extcon = <&extcon_usb2>;
209 extcon = <&extcon_usb2>;
213 assigned-clocks = <&abe_dpll_sys_clk_mux>,
214 <&atl_clkctrl DRA7_ATL_ATL_CLKCTRL 26>,
218 assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
219 assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
224 bws = <DRA7_ATL_WS_MCASP2_FSX>;
225 aws = <DRA7_ATL_WS_MCASP3_FSX>;
230 #sound-dai-cells = <0>;
232 assigned-clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 24>;
233 assigned-clock-parents = <&atl_clkin2_ck>;
237 op-mode = <0>; /* MCASP_IIS_MODE */
240 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
249 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
252 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
259 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
262 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
274 keep-power-in-suspend;
276 #address-cells = <1>;
279 compatible = "ti,wl1835";
281 interrupt-parent = <&gpio5>;
282 interrupts = <7 IRQ_TYPE_EDGE_RISING>;