1*5ec35a64SHiago De Franco// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2*5ec35a64SHiago De Franco/* 3*5ec35a64SHiago De Franco * Copyright 2014-2024 Toradex 4*5ec35a64SHiago De Franco */ 5*5ec35a64SHiago De Franco 6*5ec35a64SHiago De Franco#include <dt-bindings/gpio/gpio.h> 7*5ec35a64SHiago De Franco#include <dt-bindings/input/input.h> 8*5ec35a64SHiago De Franco#include <dt-bindings/interrupt-controller/irq.h> 9*5ec35a64SHiago De Franco#include "imx6q.dtsi" 10*5ec35a64SHiago De Franco#include "imx6qdl-apalis.dtsi" 11*5ec35a64SHiago De Franco 12*5ec35a64SHiago De Franco/ { 13*5ec35a64SHiago De Franco aliases { 14*5ec35a64SHiago De Franco i2c0 = &i2c1; 15*5ec35a64SHiago De Franco i2c1 = &i2c3; 16*5ec35a64SHiago De Franco i2c2 = &i2c2; 17*5ec35a64SHiago De Franco rtc0 = &rtc_i2c; 18*5ec35a64SHiago De Franco rtc1 = &snvs_rtc; 19*5ec35a64SHiago De Franco }; 20*5ec35a64SHiago De Franco 21*5ec35a64SHiago De Franco chosen { 22*5ec35a64SHiago De Franco stdout-path = "serial0:115200n8"; 23*5ec35a64SHiago De Franco }; 24*5ec35a64SHiago De Franco 25*5ec35a64SHiago De Franco reg_3v3_sw: regulator-3v3-sw { 26*5ec35a64SHiago De Franco compatible = "regulator-fixed"; 27*5ec35a64SHiago De Franco regulator-always-on; 28*5ec35a64SHiago De Franco regulator-max-microvolt = <3300000>; 29*5ec35a64SHiago De Franco regulator-min-microvolt = <3300000>; 30*5ec35a64SHiago De Franco regulator-name = "3.3V_SW"; 31*5ec35a64SHiago De Franco }; 32*5ec35a64SHiago De Franco}; 33*5ec35a64SHiago De Franco 34*5ec35a64SHiago De Franco&i2c1 { 35*5ec35a64SHiago De Franco #address-cells = <1>; 36*5ec35a64SHiago De Franco #size-cells = <0>; 37*5ec35a64SHiago De Franco status = "okay"; 38*5ec35a64SHiago De Franco 39*5ec35a64SHiago De Franco /* M41T0M6 real time clock on carrier board */ 40*5ec35a64SHiago De Franco rtc_i2c: rtc@68 { 41*5ec35a64SHiago De Franco compatible = "st,m41t0"; 42*5ec35a64SHiago De Franco reg = <0x68>; 43*5ec35a64SHiago De Franco }; 44*5ec35a64SHiago De Franco}; 45*5ec35a64SHiago De Franco 46*5ec35a64SHiago De Franco/* 47*5ec35a64SHiago De Franco * I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor on carrier 48*5ec35a64SHiago De Franco * board) 49*5ec35a64SHiago De Franco */ 50*5ec35a64SHiago De Franco&i2c3 { 51*5ec35a64SHiago De Franco status = "okay"; 52*5ec35a64SHiago De Franco}; 53*5ec35a64SHiago De Franco 54*5ec35a64SHiago De Franco&pcie { 55*5ec35a64SHiago De Franco pinctrl-names = "default"; 56*5ec35a64SHiago De Franco pinctrl-0 = <&pinctrl_reset_moci>; 57*5ec35a64SHiago De Franco /* active-high meaning opposite of regular PERST# active-low polarity */ 58*5ec35a64SHiago De Franco reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; 59*5ec35a64SHiago De Franco reset-gpio-active-high; 60*5ec35a64SHiago De Franco}; 61*5ec35a64SHiago De Franco 62*5ec35a64SHiago De Franco&pwm1 { 63*5ec35a64SHiago De Franco status = "okay"; 64*5ec35a64SHiago De Franco}; 65*5ec35a64SHiago De Franco 66*5ec35a64SHiago De Franco&pwm2 { 67*5ec35a64SHiago De Franco status = "okay"; 68*5ec35a64SHiago De Franco}; 69*5ec35a64SHiago De Franco 70*5ec35a64SHiago De Franco&pwm3 { 71*5ec35a64SHiago De Franco status = "okay"; 72*5ec35a64SHiago De Franco}; 73*5ec35a64SHiago De Franco 74*5ec35a64SHiago De Franco&pwm4 { 75*5ec35a64SHiago De Franco status = "okay"; 76*5ec35a64SHiago De Franco}; 77*5ec35a64SHiago De Franco 78*5ec35a64SHiago De Franco®_usb_host_vbus { 79*5ec35a64SHiago De Franco status = "okay"; 80*5ec35a64SHiago De Franco}; 81*5ec35a64SHiago De Franco 82*5ec35a64SHiago De Franco®_usb_otg_vbus { 83*5ec35a64SHiago De Franco status = "okay"; 84*5ec35a64SHiago De Franco}; 85*5ec35a64SHiago De Franco 86*5ec35a64SHiago De Franco&sata { 87*5ec35a64SHiago De Franco status = "okay"; 88*5ec35a64SHiago De Franco}; 89*5ec35a64SHiago De Franco 90*5ec35a64SHiago De Franco&spdif { 91*5ec35a64SHiago De Franco status = "okay"; 92*5ec35a64SHiago De Franco}; 93*5ec35a64SHiago De Franco 94*5ec35a64SHiago De Franco&uart1 { 95*5ec35a64SHiago De Franco status = "okay"; 96*5ec35a64SHiago De Franco}; 97*5ec35a64SHiago De Franco 98*5ec35a64SHiago De Franco&uart2 { 99*5ec35a64SHiago De Franco status = "okay"; 100*5ec35a64SHiago De Franco}; 101*5ec35a64SHiago De Franco 102*5ec35a64SHiago De Franco&uart4 { 103*5ec35a64SHiago De Franco status = "okay"; 104*5ec35a64SHiago De Franco}; 105*5ec35a64SHiago De Franco 106*5ec35a64SHiago De Franco&uart5 { 107*5ec35a64SHiago De Franco status = "okay"; 108*5ec35a64SHiago De Franco}; 109*5ec35a64SHiago De Franco 110*5ec35a64SHiago De Franco&usbh1 { 111*5ec35a64SHiago De Franco disable-over-current; 112*5ec35a64SHiago De Franco vbus-supply = <®_usb_host_vbus>; 113*5ec35a64SHiago De Franco status = "okay"; 114*5ec35a64SHiago De Franco}; 115*5ec35a64SHiago De Franco 116*5ec35a64SHiago De Franco&usbotg { 117*5ec35a64SHiago De Franco disable-over-current; 118*5ec35a64SHiago De Franco vbus-supply = <®_usb_otg_vbus>; 119*5ec35a64SHiago De Franco status = "okay"; 120*5ec35a64SHiago De Franco}; 121