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