1 // SPDX-License-Identifier: GPL-2.0-or-later O 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 /* 2 /* 3 * Copyright 2017-2022 Toradex 3 * Copyright 2017-2022 Toradex 4 */ 4 */ 5 5 6 / { 6 / { 7 chosen { 7 chosen { 8 stdout-path = "serial0:115200n 8 stdout-path = "serial0:115200n8"; 9 }; 9 }; 10 10 11 gpio-keys { 11 gpio-keys { 12 compatible = "gpio-keys"; 12 compatible = "gpio-keys"; 13 pinctrl-names = "default"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_snvs_gpi 14 pinctrl-0 = <&pinctrl_snvs_gpiokeys>; 15 15 16 power { 16 power { 17 label = "Wake-Up"; 17 label = "Wake-Up"; 18 gpios = <&gpio5 1 GPIO 18 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 19 linux,code = <KEY_WAKE 19 linux,code = <KEY_WAKEUP>; 20 debounce-interval = <1 20 debounce-interval = <10>; 21 wakeup-source; 21 wakeup-source; 22 }; 22 }; 23 }; 23 }; 24 24 25 reg_3v3: regulator-3v3 { 25 reg_3v3: regulator-3v3 { 26 compatible = "regulator-fixed" 26 compatible = "regulator-fixed"; 27 regulator-name = "3.3V"; 27 regulator-name = "3.3V"; 28 regulator-min-microvolt = <330 28 regulator-min-microvolt = <3300000>; 29 regulator-max-microvolt = <330 29 regulator-max-microvolt = <3300000>; 30 }; 30 }; 31 31 32 reg_5v0: regulator-5v0 { 32 reg_5v0: regulator-5v0 { 33 compatible = "regulator-fixed" 33 compatible = "regulator-fixed"; 34 regulator-name = "5V"; 34 regulator-name = "5V"; 35 regulator-min-microvolt = <500 35 regulator-min-microvolt = <5000000>; 36 regulator-max-microvolt = <500 36 regulator-max-microvolt = <5000000>; 37 }; 37 }; 38 38 39 reg_usbh_vbus: regulator-usbh-vbus { 39 reg_usbh_vbus: regulator-usbh-vbus { 40 compatible = "regulator-fixed" 40 compatible = "regulator-fixed"; 41 pinctrl-names = "default"; 41 pinctrl-names = "default"; 42 pinctrl-0 = <&pinctrl_usbh_reg 42 pinctrl-0 = <&pinctrl_usbh_reg>; 43 regulator-name = "VCC_USB[1-4] 43 regulator-name = "VCC_USB[1-4]"; 44 regulator-min-microvolt = <500 44 regulator-min-microvolt = <5000000>; 45 regulator-max-microvolt = <500 45 regulator-max-microvolt = <5000000>; 46 gpio = <&gpio1 2 GPIO_ACTIVE_L 46 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>; 47 vin-supply = <®_5v0>; 47 vin-supply = <®_5v0>; 48 }; 48 }; 49 }; 49 }; 50 50 51 &adc1 { 51 &adc1 { 52 status = "okay"; 52 status = "okay"; 53 }; 53 }; 54 54 55 &ecspi1 { 55 &ecspi1 { 56 status = "okay"; 56 status = "okay"; 57 57 58 num-cs = <2>; 58 num-cs = <2>; 59 cs-gpios = < 59 cs-gpios = < 60 &gpio3 26 GPIO_ACTIVE_HIGH /* 60 &gpio3 26 GPIO_ACTIVE_HIGH /* SODIMM 86 LCD_DATA21 */ 61 &gpio4 28 GPIO_ACTIVE_HIGH /* 61 &gpio4 28 GPIO_ACTIVE_HIGH /* SODIMM 65 CSI_DATA07 */ 62 >; 62 >; 63 }; 63 }; 64 64 65 /* 65 /* 66 * Following SODIMM Pins should not be accesse 66 * Following SODIMM Pins should not be accessed as GPIO on Aster board: 67 * 134 - AIN5_SCL (no connection) 67 * 134 - AIN5_SCL (no connection) 68 * 127 - Voltage Level Translator OE# signal ( 68 * 127 - Voltage Level Translator OE# signal (IC11 and IC12) 69 * 69 * 70 * To configure GPIO to LED5, please disable F 70 * To configure GPIO to LED5, please disable FEC2 and uncomment the following: 71 * &iomuxc { 71 * &iomuxc { 72 * pinctrl-names = "default"; 72 * pinctrl-names = "default"; 73 * pinctrl-0 = < 73 * pinctrl-0 = < 74 * &pinctrl_gpio1 74 * &pinctrl_gpio1 75 * &pinctrl_gpio2 75 * &pinctrl_gpio2 76 * &pinctrl_gpio3 76 * &pinctrl_gpio3 77 * &pinctrl_gpio4 77 * &pinctrl_gpio4 78 * &pinctrl_gpio6 - for n 78 * &pinctrl_gpio6 - for non-WiFi modules only 79 * &pinctrl_gpio7 79 * &pinctrl_gpio7 80 * &pinctrl_gpio_aster 80 * &pinctrl_gpio_aster 81 * >; 81 * >; 82 * 82 * 83 * pinctrl_gpio_aster: gpio-aster 83 * pinctrl_gpio_aster: gpio-aster { 84 * fsl,pins = < 84 * fsl,pins = < 85 * MX6UL_PAD_GPIO 85 * MX6UL_PAD_GPIO1_IO07__GPIO1_IO07 0x1b0b0 86 * >; 86 * >; 87 * }; 87 * }; 88 * }; 88 * }; 89 */ 89 */ 90 90 91 &i2c1 { 91 &i2c1 { 92 status = "okay"; 92 status = "okay"; 93 93 94 m41t0m6: rtc@68 { 94 m41t0m6: rtc@68 { 95 compatible = "st,m41t0"; 95 compatible = "st,m41t0"; 96 reg = <0x68>; 96 reg = <0x68>; 97 }; 97 }; 98 }; 98 }; 99 99 100 /* PWM <A> */ 100 /* PWM <A> */ 101 &pwm4 { 101 &pwm4 { 102 status = "okay"; 102 status = "okay"; 103 }; 103 }; 104 104 105 /* PWM <B> */ 105 /* PWM <B> */ 106 &pwm5 { 106 &pwm5 { 107 status = "okay"; 107 status = "okay"; 108 }; 108 }; 109 109 110 /* PWM <C> */ 110 /* PWM <C> */ 111 &pwm6 { 111 &pwm6 { 112 status = "okay"; 112 status = "okay"; 113 }; 113 }; 114 114 115 /* PWM <D> */ 115 /* PWM <D> */ 116 &pwm7 { 116 &pwm7 { 117 status = "okay"; 117 status = "okay"; 118 }; 118 }; 119 119 120 &uart1 { 120 &uart1 { 121 status = "okay"; 121 status = "okay"; 122 }; 122 }; 123 123 124 &uart2 { 124 &uart2 { 125 status = "okay"; 125 status = "okay"; 126 }; 126 }; 127 127 128 &uart5 { 128 &uart5 { 129 status = "okay"; 129 status = "okay"; 130 }; 130 }; 131 131 132 &usbotg1 { 132 &usbotg1 { 133 disable-over-current; 133 disable-over-current; 134 vbus-supply = <®_usbh_vbus>; 134 vbus-supply = <®_usbh_vbus>; 135 status = "okay"; 135 status = "okay"; 136 }; 136 }; 137 137 138 &usbotg2 { 138 &usbotg2 { 139 disable-over-current; 139 disable-over-current; 140 vbus-supply = <®_usbh_vbus>; 140 vbus-supply = <®_usbh_vbus>; 141 status = "okay"; 141 status = "okay"; 142 }; 142 }; 143 143 144 &usdhc1 { 144 &usdhc1 { 145 vmmc-supply = <®_3v3>; 145 vmmc-supply = <®_3v3>; 146 status = "okay"; 146 status = "okay"; 147 }; 147 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.