1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2/* 3 * Copyright (c) 2014 Protonic Holland 4 */ 5 6/dts-v1/; 7#include "imx6dl.dtsi" 8#include "imx6qdl-prti6q.dtsi" 9#include <dt-bindings/leds/common.h> 10 11/ { 12 model = "Protonic RVT board"; 13 compatible = "prt,prtrvt", "fsl,imx6dl"; 14 15 memory@10000000 { 16 device_type = "memory"; 17 reg = <0x10000000 0x10000000>; 18 }; 19 20 leds { 21 compatible = "gpio-leds"; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&pinctrl_leds>; 24 25 led-debug0 { 26 function = LED_FUNCTION_STATUS; 27 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; 28 linux,default-trigger = "heartbeat"; 29 }; 30 }; 31}; 32 33&can1 { 34 pinctrl-names = "default"; 35 pinctrl-0 = <&pinctrl_can1 &pinctrl_can1phy>; 36 status = "okay"; 37}; 38 39&ecspi1 { 40 cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; 41 pinctrl-names = "default"; 42 pinctrl-0 = <&pinctrl_ecspi1>; 43 status = "okay"; 44 45 flash@0 { 46 compatible = "jedec,spi-nor"; 47 reg = <0>; 48 spi-max-frequency = <20000000>; 49 #address-cells = <1>; 50 #size-cells = <1>; 51 }; 52}; 53 54&ecspi3 { 55 cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; 56 pinctrl-names = "default"; 57 pinctrl-0 = <&pinctrl_ecspi3>; 58 status = "okay"; 59 60 nfc@0 { 61 compatible = "ti,trf7970a"; 62 reg = <0>; 63 pinctrl-names = "default"; 64 pinctrl-0 = <&pinctrl_nfc>; 65 spi-max-frequency = <2000000>; 66 interrupts-extended = <&gpio5 14 IRQ_TYPE_LEVEL_LOW>; 67 ti,enable-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>, 68 <&gpio5 11 GPIO_ACTIVE_LOW>; 69 vin-supply = <®_3v3>; 70 vin-voltage-override = <3100000>; 71 autosuspend-delay = <30000>; 72 irq-status-read-quirk; 73 en2-rf-quirk; 74 t5t-rmb-extra-byte-quirk; 75 status = "okay"; 76 }; 77}; 78 79&i2c3 { 80 adc@49 { 81 compatible = "ti,ads1015"; 82 reg = <0x49>; 83 #address-cells = <1>; 84 #size-cells = <0>; 85 86 /* nc */ 87 channel@4 { 88 reg = <4>; 89 ti,gain = <3>; 90 ti,datarate = <3>; 91 }; 92 93 /* nc */ 94 channel@5 { 95 reg = <5>; 96 ti,gain = <3>; 97 ti,datarate = <3>; 98 }; 99 100 /* can1_l */ 101 channel@6 { 102 reg = <6>; 103 ti,gain = <3>; 104 ti,datarate = <3>; 105 }; 106 107 /* can1_h */ 108 channel@7 { 109 reg = <7>; 110 ti,gain = <3>; 111 ti,datarate = <3>; 112 }; 113 }; 114 115 rtc@51 { 116 compatible = "nxp,pcf8563"; 117 reg = <0x51>; 118 }; 119}; 120 121&pcie { 122 status = "okay"; 123}; 124 125&usbh1 { 126 status = "disabled"; 127}; 128 129&vpu { 130 status = "disabled"; 131}; 132 133&iomuxc { 134 pinctrl_can1phy: can1phy { 135 fsl,pins = < 136 /* CAN1_SR */ 137 MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x13070 138 /* CAN1_TERM */ 139 MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 140 >; 141 }; 142 143 pinctrl_ecspi1: ecspi1grp { 144 fsl,pins = < 145 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 146 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 147 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 148 /* CS */ 149 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 150 >; 151 }; 152 153 pinctrl_ecspi3: ecspi3grp { 154 fsl,pins = < 155 MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK 0x100b1 156 MX6QDL_PAD_DISP0_DAT1__ECSPI3_MOSI 0x100b1 157 MX6QDL_PAD_DISP0_DAT2__ECSPI3_MISO 0x100b1 158 MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x000b1 159 >; 160 }; 161 162 pinctrl_leds: ledsgrp { 163 fsl,pins = < 164 MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x1b0b0 165 >; 166 }; 167 168 pinctrl_nfc: nfcgrp { 169 fsl,pins = < 170 /* NFC_ASK_OOK */ 171 MX6QDL_PAD_DISP0_DAT15__GPIO5_IO09 0x100b1 172 /* NFC_PWR_EN */ 173 MX6QDL_PAD_DISP0_DAT16__GPIO5_IO10 0x100b1 174 /* NFC_EN2 */ 175 MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11 0x100b1 176 /* NFC_EN */ 177 MX6QDL_PAD_DISP0_DAT18__GPIO5_IO12 0x100b1 178 /* NFC_MOD */ 179 MX6QDL_PAD_DISP0_DAT19__GPIO5_IO13 0x100b1 180 /* NFC_IRQ */ 181 MX6QDL_PAD_DISP0_DAT20__GPIO5_IO14 0x100b1 182 >; 183 }; 184}; 185