1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 #include <dt-bindings/gpio/gpio.h>
6 #include "imx6q-ba16.dtsi"
9 model = "Advantech DMS-BA16";
10 compatible = "advantech,imx6q-dms-ba16", "advantech,imx6q-ba16", "fsl,imx6q";
12 reg_usb_otg_vbus: regulator-usbotgvbus {
13 compatible = "regulator-fixed";
14 regulator-name = "usb_otg_vbus";
15 regulator-min-microvolt = <5000000>;
16 regulator-max-microvolt = <5000000>;
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_usbotgvbus>;
19 gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;
23 sys_mclk: clock-sys-mclk {
24 compatible = "fixed-clock";
26 clock-frequency = <22000000>;
30 compatible = "fsl,imx6q-ba16-sgtl5000",
31 "fsl,imx-audio-sgtl5000";
32 model = "imx6q-ba16-sgtl5000";
33 ssi-controller = <&ssi1>;
34 audio-codec = <&sgtl5000>;
37 "Mic Jack", "Mic Bias",
38 "Headphone Jack", "HP_OUT";
45 cs-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
46 pinctrl-names = "default";
47 pinctrl-0 = <&pinctrl_ecspi5>;
50 m25_eeprom: m25p80@0 {
51 compatible = "atmel,at25256B", "atmel,at25";
52 spi-max-frequency = <20000000>;
61 pinctrl_i2c1_gpio: i2c1gpiogrp {
63 MX6QDL_PAD_CSI0_DAT8__GPIO5_IO26 0x1b0b0
64 MX6QDL_PAD_CSI0_DAT9__GPIO5_IO27 0x1b0b0
68 pinctrl_i2c2_gpio: i2c2gpiogrp {
70 MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x1b0b0
71 MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x1b0b0
75 pinctrl_i2c3_gpio: i2c3gpiogrp {
77 MX6QDL_PAD_GPIO_3__GPIO1_IO03 0x1b0b0
78 MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x1b0b0
82 pinctrl_usbotgvbus: usbotgvbusgrp {
84 MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
85 MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x000b0
91 clock-frequency = <100000>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_i2c1>;
97 compatible = "fsl,sgtl5000";
100 lrclk-strength = <0x3>;
101 VDDA-supply = <®_1p8v>;
102 VDDIO-supply = <®_3p3v>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_pwm2>;
113 fsl,no-spread-spectrum;
114 fsl,transmit-atten-16ths = <12>;
115 fsl,transmit-boost-mdB = <3330>;
116 fsl,transmit-level-mV = <1133>;
117 fsl,receive-dpll-mode = <1>;
122 vbus-supply = <®_usb_otg_vbus>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&pinctrl_usbotg>;
126 disable-over-current;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pinctrl_usdhc4>;
134 cd-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
136 keep-power-in-suspend;