1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright 2018-2022 TQ-Systems GmbH 4*724ba675SRob Herring * Author: Markus Niebel <Markus.Niebel@tq-group.com> 5*724ba675SRob Herring */ 6*724ba675SRob Herring 7*724ba675SRob Herring/* 8*724ba675SRob Herring * Common for 9*724ba675SRob Herring * - TQMa6ULx 10*724ba675SRob Herring * - TQMa6ULxL 11*724ba675SRob Herring * - TQMa6ULLx 12*724ba675SRob Herring * - TQMa6ULLxL 13*724ba675SRob Herring */ 14*724ba675SRob Herring 15*724ba675SRob Herring/ { 16*724ba675SRob Herring memory@80000000 { 17*724ba675SRob Herring device_type = "memory"; 18*724ba675SRob Herring reg = <0x80000000 0x10000000>; 19*724ba675SRob Herring }; 20*724ba675SRob Herring}; 21*724ba675SRob Herring 22*724ba675SRob Herring&i2c4 { 23*724ba675SRob Herring clock-frequency = <100000>; 24*724ba675SRob Herring pinctrl-names = "default", "gpio"; 25*724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c4>; 26*724ba675SRob Herring pinctrl-1 = <&pinctrl_i2c4_recovery>; 27*724ba675SRob Herring scl-gpios = <&gpio1 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 28*724ba675SRob Herring sda-gpios = <&gpio1 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 29*724ba675SRob Herring status = "okay"; 30*724ba675SRob Herring 31*724ba675SRob Herring pfuze3000: pmic@8 { 32*724ba675SRob Herring compatible = "fsl,pfuze3000"; 33*724ba675SRob Herring reg = <0x08>; 34*724ba675SRob Herring 35*724ba675SRob Herring regulators { 36*724ba675SRob Herring reg_sw1a: sw1a { 37*724ba675SRob Herring regulator-min-microvolt = <700000>; 38*724ba675SRob Herring regulator-max-microvolt = <3300000>; 39*724ba675SRob Herring regulator-boot-on; 40*724ba675SRob Herring regulator-ramp-delay = <6250>; 41*724ba675SRob Herring /* not used */ 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring reg_sw1b_core: sw1b { 45*724ba675SRob Herring regulator-min-microvolt = <700000>; 46*724ba675SRob Herring regulator-max-microvolt = <1475000>; 47*724ba675SRob Herring regulator-boot-on; 48*724ba675SRob Herring regulator-always-on; 49*724ba675SRob Herring regulator-ramp-delay = <6250>; 50*724ba675SRob Herring }; 51*724ba675SRob Herring 52*724ba675SRob Herring reg_sw2: sw2 { 53*724ba675SRob Herring regulator-min-microvolt = <2500000>; 54*724ba675SRob Herring regulator-max-microvolt = <3300000>; 55*724ba675SRob Herring }; 56*724ba675SRob Herring 57*724ba675SRob Herring reg_sw3_ddr: sw3 { 58*724ba675SRob Herring regulator-min-microvolt = <900000>; 59*724ba675SRob Herring regulator-max-microvolt = <1650000>; 60*724ba675SRob Herring regulator-boot-on; 61*724ba675SRob Herring regulator-always-on; 62*724ba675SRob Herring }; 63*724ba675SRob Herring 64*724ba675SRob Herring reg_swbst: swbst { 65*724ba675SRob Herring regulator-min-microvolt = <5000000>; 66*724ba675SRob Herring regulator-max-microvolt = <5150000>; 67*724ba675SRob Herring /* not used */ 68*724ba675SRob Herring }; 69*724ba675SRob Herring 70*724ba675SRob Herring reg_snvs_3v0: vsnvs { 71*724ba675SRob Herring regulator-min-microvolt = <1000000>; 72*724ba675SRob Herring regulator-max-microvolt = <3000000>; 73*724ba675SRob Herring regulator-boot-on; 74*724ba675SRob Herring regulator-always-on; 75*724ba675SRob Herring }; 76*724ba675SRob Herring 77*724ba675SRob Herring reg_vrefddr: vrefddr { 78*724ba675SRob Herring regulator-boot-on; 79*724ba675SRob Herring regulator-always-on; 80*724ba675SRob Herring }; 81*724ba675SRob Herring 82*724ba675SRob Herring reg_vccsd: vccsd { 83*724ba675SRob Herring regulator-min-microvolt = <2850000>; 84*724ba675SRob Herring regulator-max-microvolt = <3300000>; 85*724ba675SRob Herring }; 86*724ba675SRob Herring 87*724ba675SRob Herring reg_v33_3v3: v33 { 88*724ba675SRob Herring regulator-min-microvolt = <2850000>; 89*724ba675SRob Herring regulator-max-microvolt = <3300000>; 90*724ba675SRob Herring regulator-always-on; 91*724ba675SRob Herring }; 92*724ba675SRob Herring 93*724ba675SRob Herring reg_vldo1_3v3: vldo1 { 94*724ba675SRob Herring regulator-min-microvolt = <1800000>; 95*724ba675SRob Herring regulator-max-microvolt = <3300000>; 96*724ba675SRob Herring /* not used */ 97*724ba675SRob Herring }; 98*724ba675SRob Herring 99*724ba675SRob Herring reg_vldo2: vldo2 { 100*724ba675SRob Herring regulator-min-microvolt = <800000>; 101*724ba675SRob Herring regulator-max-microvolt = <1550000>; 102*724ba675SRob Herring /* not used */ 103*724ba675SRob Herring }; 104*724ba675SRob Herring 105*724ba675SRob Herring reg_vldo3: vldo3 { 106*724ba675SRob Herring regulator-min-microvolt = <1800000>; 107*724ba675SRob Herring regulator-max-microvolt = <3300000>; 108*724ba675SRob Herring /* not used */ 109*724ba675SRob Herring }; 110*724ba675SRob Herring 111*724ba675SRob Herring reg_vldo4: vldo4 { 112*724ba675SRob Herring regulator-min-microvolt = <1800000>; 113*724ba675SRob Herring regulator-max-microvolt = <1800000>; 114*724ba675SRob Herring regulator-always-on; 115*724ba675SRob Herring }; 116*724ba675SRob Herring }; 117*724ba675SRob Herring }; 118*724ba675SRob Herring 119*724ba675SRob Herring jc42_1a: eeprom-temperature@1a { 120*724ba675SRob Herring compatible = "nxp,se97b", "jedec,jc-42.4-temp"; 121*724ba675SRob Herring reg = <0x1a>; 122*724ba675SRob Herring }; 123*724ba675SRob Herring 124*724ba675SRob Herring m24c64_50: eeprom@50 { 125*724ba675SRob Herring compatible = "atmel,24c64"; 126*724ba675SRob Herring reg = <0x50>; 127*724ba675SRob Herring pagesize = <32>; 128*724ba675SRob Herring }; 129*724ba675SRob Herring 130*724ba675SRob Herring m24c02_52: eeprom@52 { 131*724ba675SRob Herring compatible = "nxp,se97b", "atmel,24c02"; 132*724ba675SRob Herring reg = <0x52>; 133*724ba675SRob Herring pagesize = <16>; 134*724ba675SRob Herring read-only; 135*724ba675SRob Herring }; 136*724ba675SRob Herring 137*724ba675SRob Herring rtc0: rtc@68 { 138*724ba675SRob Herring compatible = "dallas,ds1339"; 139*724ba675SRob Herring reg = <0x68>; 140*724ba675SRob Herring }; 141*724ba675SRob Herring}; 142*724ba675SRob Herring 143*724ba675SRob Herring&gpio4 { 144*724ba675SRob Herring pinctrl-names = "default"; 145*724ba675SRob Herring pinctrl-0 = <&pinctrl_pmic>; 146*724ba675SRob Herring 147*724ba675SRob Herring /* 148*724ba675SRob Herring * PMIC & temperature sensor IRQ 149*724ba675SRob Herring * Both do currently not use IRQ 150*724ba675SRob Herring * potentially dangerous if used on baseboard 151*724ba675SRob Herring */ 152*724ba675SRob Herring pmic-int-hog { 153*724ba675SRob Herring gpio-hog; 154*724ba675SRob Herring gpios = <24 0>; 155*724ba675SRob Herring input; 156*724ba675SRob Herring }; 157*724ba675SRob Herring}; 158*724ba675SRob Herring 159*724ba675SRob Herring&qspi { 160*724ba675SRob Herring pinctrl-names = "default"; 161*724ba675SRob Herring pinctrl-0 = <&pinctrl_qspi>; 162*724ba675SRob Herring status = "okay"; 163*724ba675SRob Herring 164*724ba675SRob Herring flash0: flash@0 { 165*724ba675SRob Herring #address-cells = <1>; 166*724ba675SRob Herring #size-cells = <1>; 167*724ba675SRob Herring compatible = "jedec,spi-nor"; 168*724ba675SRob Herring spi-max-frequency = <33000000>; 169*724ba675SRob Herring spi-rx-bus-width = <4>; 170*724ba675SRob Herring spi-tx-bus-width = <1>; 171*724ba675SRob Herring reg = <0>; 172*724ba675SRob Herring }; 173*724ba675SRob Herring}; 174*724ba675SRob Herring 175*724ba675SRob Herring/* eMMC */ 176*724ba675SRob Herring&usdhc2 { 177*724ba675SRob Herring pinctrl-names = "default", "state_100mhz" , "state_200mhz"; 178*724ba675SRob Herring pinctrl-0 = <&pinctrl_usdhc2>; 179*724ba675SRob Herring pinctrl-1 = <&pinctrl_usdhc2_100mhz>; 180*724ba675SRob Herring pinctrl-2 = <&pinctrl_usdhc2_200mhz>; 181*724ba675SRob Herring 182*724ba675SRob Herring bus-width = <8>; 183*724ba675SRob Herring disable-wp; 184*724ba675SRob Herring non-removable; 185*724ba675SRob Herring no-sdio; 186*724ba675SRob Herring no-sd; 187*724ba675SRob Herring status = "okay"; 188*724ba675SRob Herring}; 189*724ba675SRob Herring 190*724ba675SRob Herring&iomuxc { 191*724ba675SRob Herring pinctrl_i2c4: i2c4grp { 192*724ba675SRob Herring fsl,pins = < 193*724ba675SRob Herring MX6UL_PAD_UART2_TX_DATA__I2C4_SCL 0x4001b8b0 194*724ba675SRob Herring MX6UL_PAD_UART2_RX_DATA__I2C4_SDA 0x4001b8b0 195*724ba675SRob Herring >; 196*724ba675SRob Herring }; 197*724ba675SRob Herring 198*724ba675SRob Herring pinctrl_i2c4_recovery: i2c4recoverygrp { 199*724ba675SRob Herring fsl,pins = < 200*724ba675SRob Herring MX6UL_PAD_UART2_TX_DATA__GPIO1_IO20 0x4001b8b0 201*724ba675SRob Herring MX6UL_PAD_UART2_RX_DATA__GPIO1_IO21 0x4001b8b0 202*724ba675SRob Herring >; 203*724ba675SRob Herring }; 204*724ba675SRob Herring 205*724ba675SRob Herring pinctrl_pmic: pmic { 206*724ba675SRob Herring fsl,pins = < 207*724ba675SRob Herring /* PMIC irq */ 208*724ba675SRob Herring MX6UL_PAD_CSI_DATA03__GPIO4_IO24 0x1b099 209*724ba675SRob Herring >; 210*724ba675SRob Herring }; 211*724ba675SRob Herring}; 212