0001 // SPDX-License-Identifier: (GPL-2.0 or MIT)
0002 //
0003 // Copyright (C) 2018 emtrion GmbH
0004 //
0005
0006 / {
0007 aliases {
0008 boardid = &boardid;
0009 mmc0 = &usdhc3;
0010 mmc1 = &usdhc2;
0011 mmc2 = &usdhc1;
0012 mmc3 = &usdhc4;
0013 };
0014
0015 reg_wall_5p0: reg-wall5p0 {
0016 compatible = "regulator-fixed";
0017 regulator-name = "Main-Supply";
0018 regulator-min-microvolt = <5000000>;
0019 regulator-max-microvolt = <5000000>;
0020 regulator-always-on;
0021 regulator-boot-on;
0022 };
0023
0024 reg_base3p3: reg-base3p3 {
0025 compatible = "regulator-fixed";
0026 vin-supply = <®_wall_5p0>;
0027 regulator-name = "3V3-avari";
0028 regulator-min-microvolt = <3300000>;
0029 regulator-max-microvolt = <3300000>;
0030 regulator-always-on;
0031 regulator-boot-on;
0032 };
0033
0034 reg_base1p5: reg-base1p5 {
0035 compatible = "regulator-fixed";
0036 vin-supply = <®_base3p3>;
0037 regulator-name = "1V5-avari";
0038 regulator-min-microvolt = <1500000>;
0039 regulator-max-microvolt = <1500000>;
0040 regulator-always-on;
0041 regulator-boot-on;
0042 };
0043
0044 reg_usb_otg: reg-otgvbus {
0045 compatible = "regulator-fixed";
0046 vin-supply = <®_wall_5p0>;
0047 regulator-name = "OTG_VBUS";
0048 regulator-min-microvolt = <5000000>;
0049 regulator-max-microvolt = <5000000>;
0050 gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
0051 regulator-always-on;
0052 };
0053
0054 clk_codec: clock-codec {
0055 compatible = "fixed-clock";
0056 #clock-cells = <0>;
0057 clock-frequency = <12000000>;
0058 };
0059
0060 sound {
0061 compatible = "fsl,imx-audio-sgtl5000";
0062 model = "emCON-avari-sgtl5000";
0063 ssi-controller = <&ssi2>;
0064 audio-codec = <&sgtl5000>;
0065 audio-routing =
0066 "Headphone Jack", "HP_OUT";
0067 mux-int-port = <2>;
0068 mux-ext-port = <3>;
0069 };
0070 };
0071
0072 &audmux {
0073 pinctrl-names = "default";
0074 pinctrl-0 = <&pinctrl_audmux>;
0075 status = "okay";
0076 };
0077
0078 &can1 {
0079 status = "okay";
0080 };
0081
0082 &can2 {
0083 status = "okay";
0084 };
0085
0086 &ecspi2 {
0087 status = "okay";
0088 };
0089
0090 &hdmi {
0091 ddc-i2c-bus = <&i2c2>;
0092 status = "okay";
0093 };
0094
0095 &i2c2 {
0096 status = "okay";
0097 };
0098
0099 &i2c3 {
0100 clock-frequency = <100000>;
0101 pinctrl-names = "default";
0102 pinctrl-0 = <&pinctrl_i2c3>;
0103 status = "okay";
0104
0105 sgtl5000: audio-codec@a {
0106 compatible = "fsl,sgtl5000";
0107 reg = <0x0a>;
0108 #sound-dai-cells = <0>;
0109 clocks = <&clk_codec>;
0110 VDDA-supply = <®_base3p3>;
0111 VDDIO-supply = <®_base3p3>;
0112 };
0113
0114 captouch: touchscreen@38 {
0115 compatible = "edt,edt-ft5406";
0116 reg = <0x38>;
0117 pinctrl-names = "default";
0118 pinctrl-0 = <&pinctrl_irq_touch2 &pinctrl_emcon_gpio4>;
0119 interrupt-parent = <&gpio6>;
0120 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
0121 wake-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
0122 wakeup-source;
0123 };
0124
0125 boardid: gpio@3a {
0126 compatible = "nxp,pca8574";
0127 reg = <0x3a>;
0128 gpio-controller;
0129 #gpio-cells = <2>;
0130 };
0131 };
0132
0133 &pcie {
0134 status = "okay";
0135 };
0136
0137 &rgb_encoder {
0138 status = "okay";
0139 };
0140
0141 &rgb_panel {
0142 compatible = "edt,etm0700g0bdh6";
0143 status = "okay";
0144 };
0145
0146 &ssi2 {
0147 status = "okay";
0148 };
0149
0150 &uart2 {
0151 status = "okay";
0152 uart-has-rtscts;
0153 };
0154
0155 &uart3 {
0156 status = "okay";
0157 };
0158
0159 &uart4 {
0160 status = "okay";
0161 };
0162
0163 &uart5 {
0164 status = "okay";
0165 };
0166
0167 &usbh1 {
0168 status = "okay";
0169 };
0170
0171 &usbotg {
0172 status = "okay";
0173 };
0174
0175 &usdhc1 {
0176 status = "okay";
0177 };