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