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>;
24 compatible = "simple-audio-card";
25 simple-audio-card,name = "DRA7xx-EVM";
26 simple-audio-card,widgets =
27 "Headphone", "Headphone Jack",
29 "Microphone", "Mic Jack",
31 simple-audio-card,routing =
32 "Headphone Jack", "HPLOUT",
33 "Headphone Jack", "HPROUT",
38 "Mic Jack", "Mic Bias",
41 simple-audio-card,format = "dsp_b";
42 simple-audio-card,bitclock-master = <&sound0_master>;
43 simple-audio-card,frame-master = <&sound0_master>;
44 simple-audio-card,bitclock-inversion;
46 sound0_master: simple-audio-card,cpu {
47 sound-dai = <&mcasp3>;
48 system-clock-frequency = <5644800>;
51 simple-audio-card,codec {
52 sound-dai = <&tlv320aic3106>;
53 clocks = <&atl_clkin2_ck>;
58 compatible = "gpio-leds";
61 gpios = <&pcf_lcd 4 GPIO_ACTIVE_LOW>;
62 default-state = "off";
67 gpios = <&pcf_lcd 5 GPIO_ACTIVE_LOW>;
68 default-state = "off";
73 gpios = <&pcf_lcd 6 GPIO_ACTIVE_LOW>;
74 default-state = "off";
79 gpios = <&pcf_lcd 7 GPIO_ACTIVE_LOW>;
80 default-state = "off";
85 compatible = "gpio-keys";
93 gpios = <&pcf_lcd 2 GPIO_ACTIVE_LOW>;
99 gpios = <&pcf_lcd 3 GPIO_ACTIVE_LOW>;
106 clock-frequency = <400000>;
119 interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
120 <&dra7_pmx_core 0x3e0>;
134 spi-max-frequency = <76800000>;
136 compatible = "s25fl256s1";
137 spi-max-frequency = <76800000>;
139 spi-tx-bus-width = <1>;
140 spi-rx-bus-width = <4>;
141 #address-cells = <1>;
144 /* MTD partition table.
145 * The ROM checks the first four physical blocks
146 * for a valid file to boot and the flash here is
151 reg = <0x00000000 0x000010000>;
154 label = "QSPI.SPL.backup1";
155 reg = <0x00010000 0x00010000>;
158 label = "QSPI.SPL.backup2";
159 reg = <0x00020000 0x00010000>;
162 label = "QSPI.SPL.backup3";
163 reg = <0x00030000 0x00010000>;
166 label = "QSPI.u-boot";
167 reg = <0x00040000 0x00100000>;
170 label = "QSPI.u-boot-spl-os";
171 reg = <0x00140000 0x00080000>;
174 label = "QSPI.u-boot-env";
175 reg = <0x001c0000 0x00010000>;
178 label = "QSPI.u-boot-env.backup1";
179 reg = <0x001d0000 0x0010000>;
182 label = "QSPI.kernel";
183 reg = <0x001e0000 0x0800000>;
186 label = "QSPI.file-system";
187 reg = <0x009e0000 0x01620000>;
193 extcon = <&extcon_usb1>;
198 extcon = <&extcon_usb1>;
206 assigned-clocks = <&abe_dpll_sys_clk_mux>,
211 assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
212 assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
217 bws = <DRA7_ATL_WS_MCASP2_FSX>;
218 aws = <DRA7_ATL_WS_MCASP3_FSX>;
223 #sound-dai-cells = <0>;
225 assigned-clocks = <&mcasp3_ahclkx_mux>;
226 assigned-clock-parents = <&atl_clkin2_ck>;
230 op-mode = <0>; /* MCASP_IIS_MODE */
233 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
242 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
245 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
252 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
255 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {