1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
6 #include "dra74-ipu-dsp-common.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/clock/ti-dra7-atl.h>
9 #include <dt-bindings/input/input.h>
16 extcon_usb1: extcon_usb1 {
17 compatible = "linux,extcon-usb-gpio";
18 id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
21 extcon_usb2: extcon_usb2 {
22 compatible = "linux,extcon-usb-gpio";
23 id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>;
27 compatible = "simple-audio-card";
28 simple-audio-card,name = "DRA7xx-EVM";
29 simple-audio-card,widgets =
30 "Headphone", "Headphone Jack",
32 "Microphone", "Mic Jack",
34 simple-audio-card,routing =
35 "Headphone Jack", "HPLOUT",
36 "Headphone Jack", "HPROUT",
41 "Mic Jack", "Mic Bias",
44 simple-audio-card,format = "dsp_b";
45 simple-audio-card,bitclock-master = <&sound0_master>;
46 simple-audio-card,frame-master = <&sound0_master>;
47 simple-audio-card,bitclock-inversion;
49 sound0_master: simple-audio-card,cpu {
50 sound-dai = <&mcasp3>;
51 system-clock-frequency = <5644800>;
54 simple-audio-card,codec {
55 sound-dai = <&tlv320aic3106>;
56 clocks = <&atl_clkin2_ck>;
61 compatible = "gpio-leds";
64 gpios = <&pcf_lcd 4 GPIO_ACTIVE_LOW>;
65 default-state = "off";
70 gpios = <&pcf_lcd 5 GPIO_ACTIVE_LOW>;
71 default-state = "off";
76 gpios = <&pcf_lcd 6 GPIO_ACTIVE_LOW>;
77 default-state = "off";
82 gpios = <&pcf_lcd 7 GPIO_ACTIVE_LOW>;
83 default-state = "off";
88 compatible = "gpio-keys";
96 gpios = <&pcf_lcd 2 GPIO_ACTIVE_LOW>;
101 linux,code = <BTN_1>;
102 gpios = <&pcf_lcd 3 GPIO_ACTIVE_LOW>;
109 clock-frequency = <400000>;
122 interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
123 <&dra7_pmx_core 0x3e0>;
137 spi-max-frequency = <76800000>;
139 compatible = "s25fl256s1";
140 spi-max-frequency = <76800000>;
142 spi-tx-bus-width = <1>;
143 spi-rx-bus-width = <4>;
144 #address-cells = <1>;
147 /* MTD partition table.
148 * The ROM checks the first four physical blocks
149 * for a valid file to boot and the flash here is
154 reg = <0x00000000 0x000010000>;
157 label = "QSPI.SPL.backup1";
158 reg = <0x00010000 0x00010000>;
161 label = "QSPI.SPL.backup2";
162 reg = <0x00020000 0x00010000>;
165 label = "QSPI.SPL.backup3";
166 reg = <0x00030000 0x00010000>;
169 label = "QSPI.u-boot";
170 reg = <0x00040000 0x00100000>;
173 label = "QSPI.u-boot-spl-os";
174 reg = <0x00140000 0x00080000>;
177 label = "QSPI.u-boot-env";
178 reg = <0x001c0000 0x00010000>;
181 label = "QSPI.u-boot-env.backup1";
182 reg = <0x001d0000 0x0010000>;
185 label = "QSPI.kernel";
186 reg = <0x001e0000 0x0800000>;
189 label = "QSPI.file-system";
190 reg = <0x009e0000 0x01620000>;
196 extcon = <&extcon_usb1>;
201 extcon = <&extcon_usb1>;
205 extcon = <&extcon_usb2>;
210 extcon = <&extcon_usb2>;
214 assigned-clocks = <&abe_dpll_sys_clk_mux>,
215 <&atl_clkctrl DRA7_ATL_ATL_CLKCTRL 26>,
219 assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
220 assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
225 bws = <DRA7_ATL_WS_MCASP2_FSX>;
226 aws = <DRA7_ATL_WS_MCASP3_FSX>;
231 #sound-dai-cells = <0>;
233 assigned-clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 24>;
234 assigned-clock-parents = <&atl_clkin2_ck>;
238 op-mode = <0>; /* MCASP_IIS_MODE */
241 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
255 keep-power-in-suspend;
257 #address-cells = <1>;
260 compatible = "ti,wl1835";
262 interrupt-parent = <&gpio5>;
263 interrupts = <7 IRQ_TYPE_EDGE_RISING>;