1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright 2014-2022 Toradex 4*f126890aSEmmanuel Vadot * Copyright 2012 Freescale Semiconductor, Inc. 5*f126890aSEmmanuel Vadot * Copyright 2011 Linaro Ltd. 6*f126890aSEmmanuel Vadot */ 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot/dts-v1/; 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 11*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 12*f126890aSEmmanuel Vadot#include "imx6dl.dtsi" 13*f126890aSEmmanuel Vadot#include "imx6qdl-colibri.dtsi" 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadot/ { 16*f126890aSEmmanuel Vadot model = "Toradex Colibri iMX6DL/S on Colibri Evaluation Board V3"; 17*f126890aSEmmanuel Vadot compatible = "toradex,colibri_imx6dl-eval-v3", "toradex,colibri_imx6dl", 18*f126890aSEmmanuel Vadot "fsl,imx6dl"; 19*f126890aSEmmanuel Vadot 20*f126890aSEmmanuel Vadot aliases { 21*f126890aSEmmanuel Vadot i2c0 = &i2c2; 22*f126890aSEmmanuel Vadot i2c1 = &i2c3; 23*f126890aSEmmanuel Vadot }; 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot aliases { 26*f126890aSEmmanuel Vadot rtc0 = &rtc_i2c; 27*f126890aSEmmanuel Vadot rtc1 = &snvs_rtc; 28*f126890aSEmmanuel Vadot }; 29*f126890aSEmmanuel Vadot 30*f126890aSEmmanuel Vadot chosen { 31*f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 32*f126890aSEmmanuel Vadot }; 33*f126890aSEmmanuel Vadot 34*f126890aSEmmanuel Vadot /* Fixed crystal dedicated to mcp251x */ 35*f126890aSEmmanuel Vadot clk16m: clock-16m { 36*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 37*f126890aSEmmanuel Vadot #clock-cells = <0>; 38*f126890aSEmmanuel Vadot clock-frequency = <16000000>; 39*f126890aSEmmanuel Vadot clock-output-names = "clk16m"; 40*f126890aSEmmanuel Vadot }; 41*f126890aSEmmanuel Vadot}; 42*f126890aSEmmanuel Vadot 43*f126890aSEmmanuel Vadot/* Colibri SSP */ 44*f126890aSEmmanuel Vadot&ecspi4 { 45*f126890aSEmmanuel Vadot status = "okay"; 46*f126890aSEmmanuel Vadot 47*f126890aSEmmanuel Vadot mcp251x0: mcp251x@0 { 48*f126890aSEmmanuel Vadot compatible = "microchip,mcp2515"; 49*f126890aSEmmanuel Vadot clocks = <&clk16m>; 50*f126890aSEmmanuel Vadot interrupt-parent = <&gpio3>; 51*f126890aSEmmanuel Vadot interrupts = <27 0x2>; 52*f126890aSEmmanuel Vadot reg = <0>; 53*f126890aSEmmanuel Vadot spi-max-frequency = <10000000>; 54*f126890aSEmmanuel Vadot status = "okay"; 55*f126890aSEmmanuel Vadot }; 56*f126890aSEmmanuel Vadot}; 57*f126890aSEmmanuel Vadot 58*f126890aSEmmanuel Vadot/* 59*f126890aSEmmanuel Vadot * Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 (e.g. RTC on carrier board) 60*f126890aSEmmanuel Vadot */ 61*f126890aSEmmanuel Vadot&i2c3 { 62*f126890aSEmmanuel Vadot status = "okay"; 63*f126890aSEmmanuel Vadot 64*f126890aSEmmanuel Vadot /* M41T0M6 real time clock on carrier board */ 65*f126890aSEmmanuel Vadot rtc_i2c: rtc@68 { 66*f126890aSEmmanuel Vadot compatible = "st,m41t0"; 67*f126890aSEmmanuel Vadot reg = <0x68>; 68*f126890aSEmmanuel Vadot }; 69*f126890aSEmmanuel Vadot}; 70*f126890aSEmmanuel Vadot 71*f126890aSEmmanuel Vadot&iomuxc { 72*f126890aSEmmanuel Vadot pinctrl-names = "default"; 73*f126890aSEmmanuel Vadot pinctrl-0 = < 74*f126890aSEmmanuel Vadot &pinctrl_weim_gpio_1 &pinctrl_weim_gpio_2 75*f126890aSEmmanuel Vadot &pinctrl_weim_gpio_3 &pinctrl_weim_gpio_4 76*f126890aSEmmanuel Vadot &pinctrl_weim_gpio_5 &pinctrl_weim_gpio_6 77*f126890aSEmmanuel Vadot &pinctrl_usbh_oc_1 &pinctrl_usbc_id_1 78*f126890aSEmmanuel Vadot >; 79*f126890aSEmmanuel Vadot}; 80*f126890aSEmmanuel Vadot 81*f126890aSEmmanuel Vadot&pwm1 { 82*f126890aSEmmanuel Vadot status = "okay"; 83*f126890aSEmmanuel Vadot}; 84*f126890aSEmmanuel Vadot 85*f126890aSEmmanuel Vadot&pwm2 { 86*f126890aSEmmanuel Vadot status = "okay"; 87*f126890aSEmmanuel Vadot}; 88*f126890aSEmmanuel Vadot 89*f126890aSEmmanuel Vadot&pwm3 { 90*f126890aSEmmanuel Vadot status = "okay"; 91*f126890aSEmmanuel Vadot}; 92*f126890aSEmmanuel Vadot 93*f126890aSEmmanuel Vadot&pwm4 { 94*f126890aSEmmanuel Vadot status = "okay"; 95*f126890aSEmmanuel Vadot}; 96*f126890aSEmmanuel Vadot 97*f126890aSEmmanuel Vadot®_usb_host_vbus { 98*f126890aSEmmanuel Vadot status = "okay"; 99*f126890aSEmmanuel Vadot}; 100*f126890aSEmmanuel Vadot 101*f126890aSEmmanuel Vadot&uart1 { 102*f126890aSEmmanuel Vadot status = "okay"; 103*f126890aSEmmanuel Vadot}; 104*f126890aSEmmanuel Vadot 105*f126890aSEmmanuel Vadot&uart2 { 106*f126890aSEmmanuel Vadot status = "okay"; 107*f126890aSEmmanuel Vadot}; 108*f126890aSEmmanuel Vadot 109*f126890aSEmmanuel Vadot&uart3 { 110*f126890aSEmmanuel Vadot status = "okay"; 111*f126890aSEmmanuel Vadot}; 112*f126890aSEmmanuel Vadot 113*f126890aSEmmanuel Vadot&usbh1 { 114*f126890aSEmmanuel Vadot disable-over-current; 115*f126890aSEmmanuel Vadot status = "okay"; 116*f126890aSEmmanuel Vadot}; 117*f126890aSEmmanuel Vadot 118*f126890aSEmmanuel Vadot&usbotg { 119*f126890aSEmmanuel Vadot disable-over-current; 120*f126890aSEmmanuel Vadot status = "okay"; 121*f126890aSEmmanuel Vadot}; 122*f126890aSEmmanuel Vadot 123*f126890aSEmmanuel Vadot/* Colibri MMC */ 124*f126890aSEmmanuel Vadot&usdhc1 { 125*f126890aSEmmanuel Vadot status = "okay"; 126*f126890aSEmmanuel Vadot}; 127*f126890aSEmmanuel Vadot 128*f126890aSEmmanuel Vadot&weim { 129*f126890aSEmmanuel Vadot status = "okay"; 130*f126890aSEmmanuel Vadot 131*f126890aSEmmanuel Vadot /* weim memory map: 32MB on CS0, CS1, CS2 and CS3 */ 132*f126890aSEmmanuel Vadot ranges = <0 0 0x08000000 0x02000000 133*f126890aSEmmanuel Vadot 1 0 0x0a000000 0x02000000 134*f126890aSEmmanuel Vadot 2 0 0x0c000000 0x02000000 135*f126890aSEmmanuel Vadot 3 0 0x0e000000 0x02000000>; 136*f126890aSEmmanuel Vadot 137*f126890aSEmmanuel Vadot /* SRAM on Colibri nEXT_CS0 */ 138*f126890aSEmmanuel Vadot sram@0,0 { 139*f126890aSEmmanuel Vadot compatible = "cypress,cy7c1019dv33-10zsxi", "mtd-ram"; 140*f126890aSEmmanuel Vadot reg = <0 0 0x00010000>; 141*f126890aSEmmanuel Vadot #address-cells = <1>; 142*f126890aSEmmanuel Vadot #size-cells = <1>; 143*f126890aSEmmanuel Vadot bank-width = <2>; 144*f126890aSEmmanuel Vadot fsl,weim-cs-timing = <0x00010081 0x00000000 0x04000000 145*f126890aSEmmanuel Vadot 0x00000000 0x04000040 0x00000000>; 146*f126890aSEmmanuel Vadot }; 147*f126890aSEmmanuel Vadot 148*f126890aSEmmanuel Vadot /* SRAM on Colibri nEXT_CS1 */ 149*f126890aSEmmanuel Vadot sram@1,0 { 150*f126890aSEmmanuel Vadot compatible = "cypress,cy7c1019dv33-10zsxi", "mtd-ram"; 151*f126890aSEmmanuel Vadot reg = <1 0 0x00010000>; 152*f126890aSEmmanuel Vadot #address-cells = <1>; 153*f126890aSEmmanuel Vadot #size-cells = <1>; 154*f126890aSEmmanuel Vadot bank-width = <2>; 155*f126890aSEmmanuel Vadot fsl,weim-cs-timing = <0x00010081 0x00000000 0x04000000 156*f126890aSEmmanuel Vadot 0x00000000 0x04000040 0x00000000>; 157*f126890aSEmmanuel Vadot }; 158*f126890aSEmmanuel Vadot}; 159