1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Copyright 2013 Eukréa Electromatique <denis 3 * Copyright 2013 Eukréa Electromatique <denis@eukrea.com> 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/input/input.h> 10 #include "imx25-eukrea-cpuimx25.dtsi" 10 #include "imx25-eukrea-cpuimx25.dtsi" 11 11 12 / { 12 / { 13 model = "Eukrea MBIMXSD25"; 13 model = "Eukrea MBIMXSD25"; 14 compatible = "eukrea,mbimxsd25-baseboa 14 compatible = "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25"; 15 15 16 gpio-keys { 16 gpio-keys { 17 compatible = "gpio-keys"; 17 compatible = "gpio-keys"; 18 pinctrl-names = "default"; 18 pinctrl-names = "default"; 19 pinctrl-0 = <&pinctrl_gpiokeys 19 pinctrl-0 = <&pinctrl_gpiokeys>; 20 20 21 button { 21 button { 22 label = "BP1"; 22 label = "BP1"; 23 gpios = <&gpio3 18 GPI 23 gpios = <&gpio3 18 GPIO_ACTIVE_LOW>; 24 linux,code = <BTN_MISC 24 linux,code = <BTN_MISC>; 25 wakeup-source; 25 wakeup-source; 26 }; 26 }; 27 }; 27 }; 28 28 29 leds { 29 leds { 30 compatible = "gpio-leds"; 30 compatible = "gpio-leds"; 31 pinctrl-names = "default"; 31 pinctrl-names = "default"; 32 pinctrl-0 = <&pinctrl_gpioled> 32 pinctrl-0 = <&pinctrl_gpioled>; 33 33 34 led1 { 34 led1 { 35 label = "led1"; 35 label = "led1"; 36 gpios = <&gpio3 19 GPI 36 gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 37 linux,default-trigger 37 linux,default-trigger = "heartbeat"; 38 }; 38 }; 39 }; 39 }; 40 40 41 sound { 41 sound { 42 compatible = "eukrea,asoc-tlv3 42 compatible = "eukrea,asoc-tlv320"; 43 eukrea,model = "imx25-eukrea-t 43 eukrea,model = "imx25-eukrea-tlv320aic23"; 44 ssi-controller = <&ssi1>; 44 ssi-controller = <&ssi1>; 45 fsl,mux-int-port = <1>; 45 fsl,mux-int-port = <1>; 46 fsl,mux-ext-port = <5>; 46 fsl,mux-ext-port = <5>; 47 }; 47 }; 48 }; 48 }; 49 49 50 &audmux { 50 &audmux { 51 pinctrl-names = "default"; 51 pinctrl-names = "default"; 52 pinctrl-0 = <&pinctrl_audmux>; 52 pinctrl-0 = <&pinctrl_audmux>; 53 status = "okay"; 53 status = "okay"; 54 }; 54 }; 55 55 56 &esdhc1 { 56 &esdhc1 { 57 pinctrl-names = "default"; 57 pinctrl-names = "default"; 58 pinctrl-0 = <&pinctrl_esdhc1>; 58 pinctrl-0 = <&pinctrl_esdhc1>; 59 cd-gpios = <&gpio1 20 GPIO_ACTIVE_LOW> 59 cd-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; 60 status = "okay"; 60 status = "okay"; 61 }; 61 }; 62 62 63 &i2c1 { 63 &i2c1 { 64 tlv320aic23: codec@1a { 64 tlv320aic23: codec@1a { 65 compatible = "ti,tlv320aic23"; 65 compatible = "ti,tlv320aic23"; 66 reg = <0x1a>; 66 reg = <0x1a>; 67 }; 67 }; 68 }; 68 }; 69 69 70 &iomuxc { 70 &iomuxc { 71 imx25-eukrea-mbimxsd25-baseboard { 71 imx25-eukrea-mbimxsd25-baseboard { 72 pinctrl_audmux: audmuxgrp { 72 pinctrl_audmux: audmuxgrp { 73 fsl,pins = < 73 fsl,pins = < 74 MX25_PAD_KPP_C 74 MX25_PAD_KPP_COL3__AUD5_TXFS 0xe0 75 MX25_PAD_KPP_C 75 MX25_PAD_KPP_COL2__AUD5_TXC 0xe0 76 MX25_PAD_KPP_C 76 MX25_PAD_KPP_COL1__AUD5_RXD 0xe0 77 MX25_PAD_KPP_C 77 MX25_PAD_KPP_COL0__AUD5_TXD 0xe0 78 >; 78 >; 79 }; 79 }; 80 80 81 pinctrl_esdhc1: esdhc1grp { 81 pinctrl_esdhc1: esdhc1grp { 82 fsl,pins = < 82 fsl,pins = < 83 MX25_PAD_SD1_C 83 MX25_PAD_SD1_CMD__ESDHC1_CMD 0x400000c0 84 MX25_PAD_SD1_C 84 MX25_PAD_SD1_CLK__ESDHC1_CLK 0x400000c0 85 MX25_PAD_SD1_D 85 MX25_PAD_SD1_DATA0__ESDHC1_DAT0 0x400000c0 86 MX25_PAD_SD1_D 86 MX25_PAD_SD1_DATA1__ESDHC1_DAT1 0x400000c0 87 MX25_PAD_SD1_D 87 MX25_PAD_SD1_DATA2__ESDHC1_DAT2 0x400000c0 88 MX25_PAD_SD1_D 88 MX25_PAD_SD1_DATA3__ESDHC1_DAT3 0x400000c0 89 >; 89 >; 90 }; 90 }; 91 91 92 pinctrl_gpiokeys: gpiokeysgrp 92 pinctrl_gpiokeys: gpiokeysgrp { 93 fsl,pins = <MX25_PAD_V 93 fsl,pins = <MX25_PAD_VSTBY_ACK__GPIO_3_18 0x80000000>; 94 }; 94 }; 95 95 96 pinctrl_gpioled: gpioledgrp { 96 pinctrl_gpioled: gpioledgrp { 97 fsl,pins = <MX25_PAD_P 97 fsl,pins = <MX25_PAD_POWER_FAIL__GPIO_3_19 0x80000000>; 98 }; 98 }; 99 99 100 pinctrl_lcdc: lcdcgrp { 100 pinctrl_lcdc: lcdcgrp { 101 fsl,pins = < 101 fsl,pins = < 102 MX25_PAD_LD0__ 102 MX25_PAD_LD0__LD0 0x1 103 MX25_PAD_LD1__ 103 MX25_PAD_LD1__LD1 0x1 104 MX25_PAD_LD2__ 104 MX25_PAD_LD2__LD2 0x1 105 MX25_PAD_LD3__ 105 MX25_PAD_LD3__LD3 0x1 106 MX25_PAD_LD4__ 106 MX25_PAD_LD4__LD4 0x1 107 MX25_PAD_LD5__ 107 MX25_PAD_LD5__LD5 0x1 108 MX25_PAD_LD6__ 108 MX25_PAD_LD6__LD6 0x1 109 MX25_PAD_LD7__ 109 MX25_PAD_LD7__LD7 0x1 110 MX25_PAD_LD8__ 110 MX25_PAD_LD8__LD8 0x1 111 MX25_PAD_LD9__ 111 MX25_PAD_LD9__LD9 0x1 112 MX25_PAD_LD10_ 112 MX25_PAD_LD10__LD10 0x1 113 MX25_PAD_LD11_ 113 MX25_PAD_LD11__LD11 0x1 114 MX25_PAD_LD12_ 114 MX25_PAD_LD12__LD12 0x1 115 MX25_PAD_LD13_ 115 MX25_PAD_LD13__LD13 0x1 116 MX25_PAD_LD14_ 116 MX25_PAD_LD14__LD14 0x1 117 MX25_PAD_LD15_ 117 MX25_PAD_LD15__LD15 0x1 118 MX25_PAD_GPIO_ 118 MX25_PAD_GPIO_E__LD16 0x1 119 MX25_PAD_GPIO_ 119 MX25_PAD_GPIO_F__LD17 0x1 120 MX25_PAD_HSYNC 120 MX25_PAD_HSYNC__HSYNC 0x80000000 121 MX25_PAD_VSYNC 121 MX25_PAD_VSYNC__VSYNC 0x80000000 122 MX25_PAD_LSCLK 122 MX25_PAD_LSCLK__LSCLK 0x80000000 123 MX25_PAD_OE_AC 123 MX25_PAD_OE_ACD__OE_ACD 0x80000000 124 MX25_PAD_CONTR 124 MX25_PAD_CONTRAST__CONTRAST 0x80000000 125 >; 125 >; 126 }; 126 }; 127 127 128 pinctrl_uart1: uart1grp { 128 pinctrl_uart1: uart1grp { 129 fsl,pins = < 129 fsl,pins = < 130 MX25_PAD_UART1 130 MX25_PAD_UART1_RTS__UART1_RTS 0xe0 131 MX25_PAD_UART1 131 MX25_PAD_UART1_CTS__UART1_CTS 0xe0 132 MX25_PAD_UART1 132 MX25_PAD_UART1_TXD__UART1_TXD 0x80000000 133 MX25_PAD_UART1 133 MX25_PAD_UART1_RXD__UART1_RXD 0xc0 134 >; 134 >; 135 }; 135 }; 136 136 137 pinctrl_uart2: uart2grp { 137 pinctrl_uart2: uart2grp { 138 fsl,pins = < 138 fsl,pins = < 139 MX25_PAD_UART2 139 MX25_PAD_UART2_RXD__UART2_RXD 0x80000000 140 MX25_PAD_UART2 140 MX25_PAD_UART2_TXD__UART2_TXD 0x80000000 141 MX25_PAD_UART2 141 MX25_PAD_UART2_RTS__UART2_RTS 0x80000000 142 MX25_PAD_UART2 142 MX25_PAD_UART2_CTS__UART2_CTS 0x80000000 143 >; 143 >; 144 }; 144 }; 145 }; 145 }; 146 }; 146 }; 147 147 148 &ssi1 { 148 &ssi1 { 149 codec-handle = <&tlv320aic23>; 149 codec-handle = <&tlv320aic23>; 150 status = "okay"; 150 status = "okay"; 151 }; 151 }; 152 152 153 &uart1 { 153 &uart1 { 154 pinctrl-names = "default"; 154 pinctrl-names = "default"; 155 pinctrl-0 = <&pinctrl_uart1>; 155 pinctrl-0 = <&pinctrl_uart1>; 156 uart-has-rtscts; 156 uart-has-rtscts; 157 status = "okay"; 157 status = "okay"; 158 }; 158 }; 159 159 160 &uart2 { 160 &uart2 { 161 pinctrl-names = "default"; 161 pinctrl-names = "default"; 162 pinctrl-0 = <&pinctrl_uart2>; 162 pinctrl-0 = <&pinctrl_uart2>; 163 uart-has-rtscts; 163 uart-has-rtscts; 164 status = "okay"; 164 status = "okay"; 165 }; 165 }; 166 166 167 &usbhost1 { 167 &usbhost1 { 168 status = "okay"; 168 status = "okay"; 169 }; 169 }; 170 170 171 &usbotg { 171 &usbotg { 172 external-vbus-divider; 172 external-vbus-divider; 173 status = "okay"; 173 status = "okay"; 174 }; 174 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.