1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright 2020-2021 TQ-Systems GmbH
6 #include <dt-bindings/net/ti-dp83867.h>
8 /* TQ-Systems GmbH MBa8Mx baseboard */
12 compatible = "pwm-beeper";
13 pwms = <&pwm4 0 250000 0>;
15 amp-supply = <®_vcc_3v3>;
19 // bootargs = "console=ttymxc2,115200 earlycon=ec_imx6q,0x30880000,115200";
24 compatible = "gpio-keys";
25 pinctrl-names = "default";
26 pinctrl-0 = <&pinctrl_gpiobutton>;
32 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
51 gpio_leds: gpio-leds {
52 compatible = "gpio-leds";
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_gpioled>;
58 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
59 linux,default-trigger = "default-on";
64 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
65 linux,default-trigger = "heartbeat";
69 reg_hub_vbus: regulator-hub-vbus {
70 compatible = "regulator-fixed";
71 regulator-name = "MBA8MX_HUB_VBUS";
72 regulator-min-microvolt = <5000000>;
73 regulator-max-microvolt = <5000000>;
76 reg_sn65dsi83_1v8: regulator-sn65dsi83-1v8 {
77 compatible = "regulator-fixed";
78 regulator-name = "SN65DSI83_1V8";
79 regulator-min-microvolt = <1800000>;
80 regulator-max-microvolt = <1800000>;
81 gpio = <&expander0 5 GPIO_ACTIVE_HIGH>;
85 reg_vcc_3v3: regulator-3v3 {
86 compatible = "regulator-fixed";
87 regulator-name = "MBA8MX_3V3";
88 regulator-min-microvolt = <3300000>;
89 regulator-max-microvolt = <3300000>;
93 compatible = "fsl,imx-audio-tlv320aic32x4";
94 model = "imx-audio-tlv320aic32x4";
95 ssi-controller = <&sai3>;
96 audio-codec = <&tlv320aic3x04>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_ecspi1>;
103 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
108 pinctrl-names = "default";
109 pinctrl-0 = <&pinctrl_ecspi2>;
110 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&pinctrl_fec1>;
117 phy-mode = "rgmii-id";
118 phy-handle = <ðphy0>;
119 phy-supply = <®_vcc_3v3>;
121 mac-address = [ 00 00 00 00 00 00 ];
125 #address-cells = <1>;
128 ethphy0: ethernet-phy@e {
129 compatible = "ethernet-phy-ieee802.3-c22";
131 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_50_NS>;
132 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_50_NS>;
133 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
134 ti,dp83867-rxctrl-strap-quirk;
135 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
136 enet-phy-lane-no-swap;
137 reset-gpios = <&expander2 7 GPIO_ACTIVE_LOW>;
138 reset-assert-us = <500000>;
139 reset-deassert-us = <500>;
146 compatible = "nxp,pca9555";
150 vcc-supply = <®_vcc_3v3>;
151 interrupt-parent = <&gpio1>;
152 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
153 interrupt-controller;
154 #interrupt-cells = <2>;
160 line-name = "SD_MUX_EN#";
167 line-name = "BOOT_CFG_OE#";
174 line-name = "RST_USB_HUB#";
179 compatible = "nxp,pca9555";
183 vcc-supply = <®_vcc_3v3>;
188 clock-frequency = <100000>;
189 pinctrl-names = "default", "gpio";
190 pinctrl-0 = <&pinctrl_i2c2>;
191 pinctrl-1 = <&pinctrl_i2c2_gpio>;
192 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
193 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
196 tlv320aic3x04: audio-codec@18 {
197 compatible = "ti,tlv320aic32x4";
199 reset-gpios = <&expander2 0 GPIO_ACTIVE_LOW>;
200 iov-supply = <®_vcc_3v3>;
201 ldoin-supply = <®_vcc_3v3>;
205 compatible = "nxp,se97", "jedec,jc-42.4-temp";
210 compatible = "nxp,se97b", "atmel,24c02";
217 clock-frequency = <100000>;
218 pinctrl-names = "default", "gpio";
219 pinctrl-0 = <&pinctrl_i2c3>;
220 pinctrl-1 = <&pinctrl_i2c3_gpio>;
221 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
222 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&pinctrl_pwm3>;
233 pinctrl-names = "default";
234 pinctrl-0 = <&pinctrl_pwm4>;
239 pinctrl-names = "default";
240 pinctrl-0 = <&pinctrl_sai3>;
241 #sound-dai-cells = <0>;
242 assigned-clock-rates = <49152000>;
251 pinctrl-names = "default";
252 pinctrl-0 = <&pinctrl_uart1>;
257 pinctrl-names = "default";
258 pinctrl-0 = <&pinctrl_uart2>;
264 pinctrl-names = "default";
265 pinctrl-0 = <&pinctrl_uart3>;
269 /* UART4 is assigned to Cortex-M4 */
271 pinctrl-names = "default", "state_100mhz", "state_200mhz";
272 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
273 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
274 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
276 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
280 vmmc-supply = <®_usdhc2_vmmc>;