2 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/clk/ti-dra7-atl.h>
11 #include <dt-bindings/input/input.h>
18 extcon_usb1: extcon_usb1 {
19 compatible = "linux,extcon-usb-gpio";
20 id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
23 extcon_usb2: extcon_usb2 {
24 compatible = "linux,extcon-usb-gpio";
25 id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>;
29 compatible = "simple-audio-card";
30 simple-audio-card,name = "DRA7xx-EVM";
31 simple-audio-card,widgets =
32 "Headphone", "Headphone Jack",
34 "Microphone", "Mic Jack",
36 simple-audio-card,routing =
37 "Headphone Jack", "HPLOUT",
38 "Headphone Jack", "HPROUT",
43 "Mic Jack", "Mic Bias",
46 simple-audio-card,format = "dsp_b";
47 simple-audio-card,bitclock-master = <&sound0_master>;
48 simple-audio-card,frame-master = <&sound0_master>;
49 simple-audio-card,bitclock-inversion;
51 sound0_master: simple-audio-card,cpu {
52 sound-dai = <&mcasp3>;
53 system-clock-frequency = <5644800>;
56 simple-audio-card,codec {
57 sound-dai = <&tlv320aic3106>;
58 clocks = <&atl_clkin2_ck>;
63 compatible = "gpio-leds";
66 gpios = <&pcf_lcd 4 GPIO_ACTIVE_LOW>;
67 default-state = "off";
72 gpios = <&pcf_lcd 5 GPIO_ACTIVE_LOW>;
73 default-state = "off";
78 gpios = <&pcf_lcd 6 GPIO_ACTIVE_LOW>;
79 default-state = "off";
84 gpios = <&pcf_lcd 7 GPIO_ACTIVE_LOW>;
85 default-state = "off";
90 compatible = "gpio-keys";
98 gpios = <&pcf_lcd 2 GPIO_ACTIVE_LOW>;
103 linux,code = <BTN_1>;
104 gpios = <&pcf_lcd 3 GPIO_ACTIVE_LOW>;
111 clock-frequency = <400000>;
124 interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
125 <&dra7_pmx_core 0x3e0>;
139 spi-max-frequency = <76800000>;
141 compatible = "s25fl256s1";
142 spi-max-frequency = <76800000>;
144 spi-tx-bus-width = <1>;
145 spi-rx-bus-width = <4>;
146 #address-cells = <1>;
149 /* MTD partition table.
150 * The ROM checks the first four physical blocks
151 * for a valid file to boot and the flash here is
156 reg = <0x00000000 0x000010000>;
159 label = "QSPI.SPL.backup1";
160 reg = <0x00010000 0x00010000>;
163 label = "QSPI.SPL.backup2";
164 reg = <0x00020000 0x00010000>;
167 label = "QSPI.SPL.backup3";
168 reg = <0x00030000 0x00010000>;
171 label = "QSPI.u-boot";
172 reg = <0x00040000 0x00100000>;
175 label = "QSPI.u-boot-spl-os";
176 reg = <0x00140000 0x00080000>;
179 label = "QSPI.u-boot-env";
180 reg = <0x001c0000 0x00010000>;
183 label = "QSPI.u-boot-env.backup1";
184 reg = <0x001d0000 0x0010000>;
187 label = "QSPI.kernel";
188 reg = <0x001e0000 0x0800000>;
191 label = "QSPI.file-system";
192 reg = <0x009e0000 0x01620000>;
198 extcon = <&extcon_usb1>;
203 extcon = <&extcon_usb1>;
207 extcon = <&extcon_usb2>;
212 extcon = <&extcon_usb2>;
216 assigned-clocks = <&abe_dpll_sys_clk_mux>,
217 <&atl_clkctrl DRA7_ATL_CLKCTRL 26>,
221 assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
222 assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
227 bws = <DRA7_ATL_WS_MCASP2_FSX>;
228 aws = <DRA7_ATL_WS_MCASP3_FSX>;
233 #sound-dai-cells = <0>;
235 assigned-clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 24>;
236 assigned-clock-parents = <&atl_clkin2_ck>;
240 op-mode = <0>; /* MCASP_IIS_MODE */
243 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
252 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
255 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
262 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
265 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
277 keep-power-in-suspend;
279 #address-cells = <1>;
282 compatible = "ti,wl1835";
284 interrupt-parent = <&gpio5>;
285 interrupts = <7 IRQ_TYPE_EDGE_RISING>;