1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot#include "am57xx-industrial-grade.dtsi" 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot/ { 9*f126890aSEmmanuel Vadot aliases { 10*f126890aSEmmanuel Vadot rtc0 = &tps659038_rtc; 11*f126890aSEmmanuel Vadot rtc1 = &rtc; 12*f126890aSEmmanuel Vadot display0 = &hdmi0; 13*f126890aSEmmanuel Vadot }; 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadot chosen { 16*f126890aSEmmanuel Vadot stdout-path = &uart3; 17*f126890aSEmmanuel Vadot }; 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot vmain: fixedregulator-vmain { 20*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 21*f126890aSEmmanuel Vadot regulator-name = "VMAIN"; 22*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 23*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 24*f126890aSEmmanuel Vadot regulator-always-on; 25*f126890aSEmmanuel Vadot regulator-boot-on; 26*f126890aSEmmanuel Vadot }; 27*f126890aSEmmanuel Vadot 28*f126890aSEmmanuel Vadot v3_3d: fixedregulator-v3_3d { 29*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 30*f126890aSEmmanuel Vadot regulator-name = "V3_3D"; 31*f126890aSEmmanuel Vadot vin-supply = <&smps9_reg>; 32*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 33*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 34*f126890aSEmmanuel Vadot regulator-always-on; 35*f126890aSEmmanuel Vadot regulator-boot-on; 36*f126890aSEmmanuel Vadot }; 37*f126890aSEmmanuel Vadot 38*f126890aSEmmanuel Vadot v1_2d: fixedregulator-v1_2d { 39*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 40*f126890aSEmmanuel Vadot regulator-name = "V1_2D"; 41*f126890aSEmmanuel Vadot vin-supply = <&vmain>; 42*f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 43*f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 44*f126890aSEmmanuel Vadot regulator-always-on; 45*f126890aSEmmanuel Vadot regulator-boot-on; 46*f126890aSEmmanuel Vadot }; 47*f126890aSEmmanuel Vadot 48*f126890aSEmmanuel Vadot vtt_fixed: fixedregulator-vtt { 49*f126890aSEmmanuel Vadot /* TPS51200 */ 50*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 51*f126890aSEmmanuel Vadot regulator-name = "vtt_fixed"; 52*f126890aSEmmanuel Vadot vin-supply = <&v3_3d>; 53*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 54*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 55*f126890aSEmmanuel Vadot regulator-always-on; 56*f126890aSEmmanuel Vadot regulator-boot-on; 57*f126890aSEmmanuel Vadot }; 58*f126890aSEmmanuel Vadot 59*f126890aSEmmanuel Vadot leds-iio { 60*f126890aSEmmanuel Vadot status = "disabled"; 61*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 62*f126890aSEmmanuel Vadot led-out0 { 63*f126890aSEmmanuel Vadot label = "out0"; 64*f126890aSEmmanuel Vadot gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>; 65*f126890aSEmmanuel Vadot default-state = "off"; 66*f126890aSEmmanuel Vadot }; 67*f126890aSEmmanuel Vadot 68*f126890aSEmmanuel Vadot led-out1 { 69*f126890aSEmmanuel Vadot label = "out1"; 70*f126890aSEmmanuel Vadot gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>; 71*f126890aSEmmanuel Vadot default-state = "off"; 72*f126890aSEmmanuel Vadot }; 73*f126890aSEmmanuel Vadot 74*f126890aSEmmanuel Vadot led-out2 { 75*f126890aSEmmanuel Vadot label = "out2"; 76*f126890aSEmmanuel Vadot gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>; 77*f126890aSEmmanuel Vadot default-state = "off"; 78*f126890aSEmmanuel Vadot }; 79*f126890aSEmmanuel Vadot 80*f126890aSEmmanuel Vadot led-out3 { 81*f126890aSEmmanuel Vadot label = "out3"; 82*f126890aSEmmanuel Vadot gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>; 83*f126890aSEmmanuel Vadot default-state = "off"; 84*f126890aSEmmanuel Vadot }; 85*f126890aSEmmanuel Vadot 86*f126890aSEmmanuel Vadot led-out4 { 87*f126890aSEmmanuel Vadot label = "out4"; 88*f126890aSEmmanuel Vadot gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>; 89*f126890aSEmmanuel Vadot default-state = "off"; 90*f126890aSEmmanuel Vadot }; 91*f126890aSEmmanuel Vadot 92*f126890aSEmmanuel Vadot led-out5 { 93*f126890aSEmmanuel Vadot label = "out5"; 94*f126890aSEmmanuel Vadot gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>; 95*f126890aSEmmanuel Vadot default-state = "off"; 96*f126890aSEmmanuel Vadot }; 97*f126890aSEmmanuel Vadot 98*f126890aSEmmanuel Vadot led-out6 { 99*f126890aSEmmanuel Vadot label = "out6"; 100*f126890aSEmmanuel Vadot gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>; 101*f126890aSEmmanuel Vadot default-state = "off"; 102*f126890aSEmmanuel Vadot }; 103*f126890aSEmmanuel Vadot 104*f126890aSEmmanuel Vadot led-out7 { 105*f126890aSEmmanuel Vadot label = "out7"; 106*f126890aSEmmanuel Vadot gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>; 107*f126890aSEmmanuel Vadot default-state = "off"; 108*f126890aSEmmanuel Vadot }; 109*f126890aSEmmanuel Vadot }; 110*f126890aSEmmanuel Vadot 111*f126890aSEmmanuel Vadot hdmi0: connector@0 { 112*f126890aSEmmanuel Vadot compatible = "hdmi-connector"; 113*f126890aSEmmanuel Vadot label = "hdmi"; 114*f126890aSEmmanuel Vadot 115*f126890aSEmmanuel Vadot type = "a"; 116*f126890aSEmmanuel Vadot 117*f126890aSEmmanuel Vadot port { 118*f126890aSEmmanuel Vadot hdmi_connector_in: endpoint { 119*f126890aSEmmanuel Vadot remote-endpoint = <&tpd12s015_out>; 120*f126890aSEmmanuel Vadot }; 121*f126890aSEmmanuel Vadot }; 122*f126890aSEmmanuel Vadot }; 123*f126890aSEmmanuel Vadot 124*f126890aSEmmanuel Vadot tpd12s015: encoder@0 { 125*f126890aSEmmanuel Vadot compatible = "ti,tpd12s016", "ti,tpd12s015"; 126*f126890aSEmmanuel Vadot 127*f126890aSEmmanuel Vadot gpios = <0>, /* optional CT_CP_HPD */ 128*f126890aSEmmanuel Vadot <0>, /* optional LS_OE */ 129*f126890aSEmmanuel Vadot <&gpio7 12 GPIO_ACTIVE_HIGH>; /* HPD */ 130*f126890aSEmmanuel Vadot 131*f126890aSEmmanuel Vadot ports { 132*f126890aSEmmanuel Vadot #address-cells = <1>; 133*f126890aSEmmanuel Vadot #size-cells = <0>; 134*f126890aSEmmanuel Vadot 135*f126890aSEmmanuel Vadot port@0 { 136*f126890aSEmmanuel Vadot reg = <0>; 137*f126890aSEmmanuel Vadot 138*f126890aSEmmanuel Vadot tpd12s015_in: endpoint@0 { 139*f126890aSEmmanuel Vadot remote-endpoint = <&hdmi_out>; 140*f126890aSEmmanuel Vadot }; 141*f126890aSEmmanuel Vadot }; 142*f126890aSEmmanuel Vadot 143*f126890aSEmmanuel Vadot port@1 { 144*f126890aSEmmanuel Vadot reg = <1>; 145*f126890aSEmmanuel Vadot 146*f126890aSEmmanuel Vadot tpd12s015_out: endpoint@0 { 147*f126890aSEmmanuel Vadot remote-endpoint = <&hdmi_connector_in>; 148*f126890aSEmmanuel Vadot }; 149*f126890aSEmmanuel Vadot }; 150*f126890aSEmmanuel Vadot }; 151*f126890aSEmmanuel Vadot }; 152*f126890aSEmmanuel Vadot 153*f126890aSEmmanuel Vadot src_clk_x1: src_clk_x1 { 154*f126890aSEmmanuel Vadot #clock-cells = <0>; 155*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 156*f126890aSEmmanuel Vadot clock-frequency = <20000000>; 157*f126890aSEmmanuel Vadot }; 158*f126890aSEmmanuel Vadot}; 159*f126890aSEmmanuel Vadot 160*f126890aSEmmanuel Vadot&dra7_pmx_core { 161*f126890aSEmmanuel Vadot dcan1_pins_default: dcan1-default-pins { 162*f126890aSEmmanuel Vadot pinctrl-single,pins = < 163*f126890aSEmmanuel Vadot DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */ 164*f126890aSEmmanuel Vadot DRA7XX_CORE_IOPAD(0x37d4, PIN_INPUT_PULLUP | MUX_MODE0) /* dcan1_rx */ 165*f126890aSEmmanuel Vadot >; 166*f126890aSEmmanuel Vadot }; 167*f126890aSEmmanuel Vadot 168*f126890aSEmmanuel Vadot dcan1_pins_sleep: dcan1-sleep-pins { 169*f126890aSEmmanuel Vadot pinctrl-single,pins = < 170*f126890aSEmmanuel Vadot DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */ 171*f126890aSEmmanuel Vadot DRA7XX_CORE_IOPAD(0x37d4, MUX_MODE15 | PULL_UP) /* dcan1_rx.off */ 172*f126890aSEmmanuel Vadot >; 173*f126890aSEmmanuel Vadot }; 174*f126890aSEmmanuel Vadot}; 175*f126890aSEmmanuel Vadot 176*f126890aSEmmanuel Vadot&i2c1 { 177*f126890aSEmmanuel Vadot status = "okay"; 178*f126890aSEmmanuel Vadot clock-frequency = <400000>; 179*f126890aSEmmanuel Vadot 180*f126890aSEmmanuel Vadot tps659038: tps659038@58 { 181*f126890aSEmmanuel Vadot compatible = "ti,tps659038"; 182*f126890aSEmmanuel Vadot reg = <0x58>; 183*f126890aSEmmanuel Vadot interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH 184*f126890aSEmmanuel Vadot &dra7_pmx_core 0x418>; 185*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 186*f126890aSEmmanuel Vadot interrupt-controller; 187*f126890aSEmmanuel Vadot ti,system-power-controller; 188*f126890aSEmmanuel Vadot ti,palmas-override-powerhold; 189*f126890aSEmmanuel Vadot 190*f126890aSEmmanuel Vadot tps659038_pmic { 191*f126890aSEmmanuel Vadot compatible = "ti,tps659038-pmic"; 192*f126890aSEmmanuel Vadot 193*f126890aSEmmanuel Vadot smps12-in-supply = <&vmain>; 194*f126890aSEmmanuel Vadot smps3-in-supply = <&vmain>; 195*f126890aSEmmanuel Vadot smps45-in-supply = <&vmain>; 196*f126890aSEmmanuel Vadot smps6-in-supply = <&vmain>; 197*f126890aSEmmanuel Vadot smps7-in-supply = <&vmain>; 198*f126890aSEmmanuel Vadot smps8-in-supply = <&vmain>; 199*f126890aSEmmanuel Vadot smps9-in-supply = <&vmain>; 200*f126890aSEmmanuel Vadot ldo1-in-supply = <&vmain>; 201*f126890aSEmmanuel Vadot ldo2-in-supply = <&vmain>; 202*f126890aSEmmanuel Vadot ldo3-in-supply = <&vmain>; 203*f126890aSEmmanuel Vadot ldo4-in-supply = <&vmain>; 204*f126890aSEmmanuel Vadot ldo9-in-supply = <&vmain>; 205*f126890aSEmmanuel Vadot ldoln-in-supply = <&vmain>; 206*f126890aSEmmanuel Vadot ldousb-in-supply = <&vmain>; 207*f126890aSEmmanuel Vadot ldortc-in-supply = <&vmain>; 208*f126890aSEmmanuel Vadot 209*f126890aSEmmanuel Vadot regulators { 210*f126890aSEmmanuel Vadot smps12_reg: smps12 { 211*f126890aSEmmanuel Vadot /* VDD_MPU */ 212*f126890aSEmmanuel Vadot regulator-name = "smps12"; 213*f126890aSEmmanuel Vadot regulator-min-microvolt = <850000>; 214*f126890aSEmmanuel Vadot regulator-max-microvolt = <1250000>; 215*f126890aSEmmanuel Vadot regulator-always-on; 216*f126890aSEmmanuel Vadot regulator-boot-on; 217*f126890aSEmmanuel Vadot }; 218*f126890aSEmmanuel Vadot 219*f126890aSEmmanuel Vadot smps3_reg: smps3 { 220*f126890aSEmmanuel Vadot /* VDD_DDR EMIF1 EMIF2 */ 221*f126890aSEmmanuel Vadot regulator-name = "smps3"; 222*f126890aSEmmanuel Vadot regulator-min-microvolt = <1350000>; 223*f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 224*f126890aSEmmanuel Vadot regulator-always-on; 225*f126890aSEmmanuel Vadot regulator-boot-on; 226*f126890aSEmmanuel Vadot }; 227*f126890aSEmmanuel Vadot 228*f126890aSEmmanuel Vadot smps45_reg: smps45 { 229*f126890aSEmmanuel Vadot /* VDD_DSPEVE on AM572 */ 230*f126890aSEmmanuel Vadot /* VDD_IVA + VDD_DSP on AM571 */ 231*f126890aSEmmanuel Vadot regulator-name = "smps45"; 232*f126890aSEmmanuel Vadot regulator-min-microvolt = <850000>; 233*f126890aSEmmanuel Vadot regulator-max-microvolt = <1250000>; 234*f126890aSEmmanuel Vadot regulator-always-on; 235*f126890aSEmmanuel Vadot regulator-boot-on; 236*f126890aSEmmanuel Vadot }; 237*f126890aSEmmanuel Vadot 238*f126890aSEmmanuel Vadot smps6_reg: smps6 { 239*f126890aSEmmanuel Vadot /* VDD_GPU */ 240*f126890aSEmmanuel Vadot regulator-name = "smps6"; 241*f126890aSEmmanuel Vadot regulator-min-microvolt = <850000>; 242*f126890aSEmmanuel Vadot regulator-max-microvolt = <1250000>; 243*f126890aSEmmanuel Vadot regulator-always-on; 244*f126890aSEmmanuel Vadot regulator-boot-on; 245*f126890aSEmmanuel Vadot }; 246*f126890aSEmmanuel Vadot 247*f126890aSEmmanuel Vadot smps7_reg: smps7 { 248*f126890aSEmmanuel Vadot /* VDD_CORE */ 249*f126890aSEmmanuel Vadot regulator-name = "smps7"; 250*f126890aSEmmanuel Vadot regulator-min-microvolt = <850000>; 251*f126890aSEmmanuel Vadot regulator-max-microvolt = <1150000>; 252*f126890aSEmmanuel Vadot regulator-always-on; 253*f126890aSEmmanuel Vadot regulator-boot-on; 254*f126890aSEmmanuel Vadot }; 255*f126890aSEmmanuel Vadot 256*f126890aSEmmanuel Vadot smps8_reg: smps8 { 257*f126890aSEmmanuel Vadot /* 5728 - VDD_IVAHD */ 258*f126890aSEmmanuel Vadot /* 5718 - N.C. test point */ 259*f126890aSEmmanuel Vadot regulator-name = "smps8"; 260*f126890aSEmmanuel Vadot }; 261*f126890aSEmmanuel Vadot 262*f126890aSEmmanuel Vadot smps9_reg: smps9 { 263*f126890aSEmmanuel Vadot /* VDD_3_3D */ 264*f126890aSEmmanuel Vadot regulator-name = "smps9"; 265*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 266*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 267*f126890aSEmmanuel Vadot regulator-always-on; 268*f126890aSEmmanuel Vadot regulator-boot-on; 269*f126890aSEmmanuel Vadot }; 270*f126890aSEmmanuel Vadot 271*f126890aSEmmanuel Vadot ldo1_reg: ldo1 { 272*f126890aSEmmanuel Vadot /* VDDSHV8 - VSDMMC */ 273*f126890aSEmmanuel Vadot /* NOTE: on rev 1.3a, data supply */ 274*f126890aSEmmanuel Vadot regulator-name = "ldo1"; 275*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 276*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 277*f126890aSEmmanuel Vadot regulator-boot-on; 278*f126890aSEmmanuel Vadot regulator-always-on; 279*f126890aSEmmanuel Vadot }; 280*f126890aSEmmanuel Vadot 281*f126890aSEmmanuel Vadot ldo2_reg: ldo2 { 282*f126890aSEmmanuel Vadot /* VDDSH18V */ 283*f126890aSEmmanuel Vadot regulator-name = "ldo2"; 284*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 285*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 286*f126890aSEmmanuel Vadot regulator-always-on; 287*f126890aSEmmanuel Vadot regulator-boot-on; 288*f126890aSEmmanuel Vadot }; 289*f126890aSEmmanuel Vadot 290*f126890aSEmmanuel Vadot ldo3_reg: ldo3 { 291*f126890aSEmmanuel Vadot /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */ 292*f126890aSEmmanuel Vadot regulator-name = "ldo3"; 293*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 294*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 295*f126890aSEmmanuel Vadot regulator-always-on; 296*f126890aSEmmanuel Vadot regulator-boot-on; 297*f126890aSEmmanuel Vadot }; 298*f126890aSEmmanuel Vadot 299*f126890aSEmmanuel Vadot ldo4_reg: ldo4 { 300*f126890aSEmmanuel Vadot /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/ 301*f126890aSEmmanuel Vadot regulator-name = "ldo4"; 302*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 303*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 304*f126890aSEmmanuel Vadot regulator-always-on; 305*f126890aSEmmanuel Vadot regulator-boot-on; 306*f126890aSEmmanuel Vadot }; 307*f126890aSEmmanuel Vadot 308*f126890aSEmmanuel Vadot /* LDO5-8 unused */ 309*f126890aSEmmanuel Vadot 310*f126890aSEmmanuel Vadot ldo9_reg: ldo9 { 311*f126890aSEmmanuel Vadot /* VDD_RTC */ 312*f126890aSEmmanuel Vadot regulator-name = "ldo9"; 313*f126890aSEmmanuel Vadot regulator-min-microvolt = <840000>; 314*f126890aSEmmanuel Vadot regulator-max-microvolt = <1160000>; 315*f126890aSEmmanuel Vadot regulator-always-on; 316*f126890aSEmmanuel Vadot regulator-boot-on; 317*f126890aSEmmanuel Vadot }; 318*f126890aSEmmanuel Vadot 319*f126890aSEmmanuel Vadot ldoln_reg: ldoln { 320*f126890aSEmmanuel Vadot /* VDDA_1V8_PLL */ 321*f126890aSEmmanuel Vadot regulator-name = "ldoln"; 322*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 323*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 324*f126890aSEmmanuel Vadot regulator-always-on; 325*f126890aSEmmanuel Vadot regulator-boot-on; 326*f126890aSEmmanuel Vadot }; 327*f126890aSEmmanuel Vadot 328*f126890aSEmmanuel Vadot ldousb_reg: ldousb { 329*f126890aSEmmanuel Vadot /* VDDA_3V_USB: VDDA_USBHS33 */ 330*f126890aSEmmanuel Vadot regulator-name = "ldousb"; 331*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 332*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 333*f126890aSEmmanuel Vadot regulator-always-on; 334*f126890aSEmmanuel Vadot regulator-boot-on; 335*f126890aSEmmanuel Vadot }; 336*f126890aSEmmanuel Vadot 337*f126890aSEmmanuel Vadot ldortc_reg: ldortc { 338*f126890aSEmmanuel Vadot /* VDDA_RTC */ 339*f126890aSEmmanuel Vadot regulator-name = "ldortc"; 340*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 341*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 342*f126890aSEmmanuel Vadot regulator-always-on; 343*f126890aSEmmanuel Vadot regulator-boot-on; 344*f126890aSEmmanuel Vadot }; 345*f126890aSEmmanuel Vadot 346*f126890aSEmmanuel Vadot regen1: regen1 { 347*f126890aSEmmanuel Vadot /* VDD_3V3_ON */ 348*f126890aSEmmanuel Vadot regulator-name = "regen1"; 349*f126890aSEmmanuel Vadot regulator-boot-on; 350*f126890aSEmmanuel Vadot regulator-always-on; 351*f126890aSEmmanuel Vadot }; 352*f126890aSEmmanuel Vadot 353*f126890aSEmmanuel Vadot regen2: regen2 { 354*f126890aSEmmanuel Vadot /* Needed for PMIC internal resource */ 355*f126890aSEmmanuel Vadot regulator-name = "regen2"; 356*f126890aSEmmanuel Vadot regulator-boot-on; 357*f126890aSEmmanuel Vadot regulator-always-on; 358*f126890aSEmmanuel Vadot }; 359*f126890aSEmmanuel Vadot }; 360*f126890aSEmmanuel Vadot }; 361*f126890aSEmmanuel Vadot 362*f126890aSEmmanuel Vadot tps659038_rtc: tps659038_rtc { 363*f126890aSEmmanuel Vadot compatible = "ti,palmas-rtc"; 364*f126890aSEmmanuel Vadot interrupt-parent = <&tps659038>; 365*f126890aSEmmanuel Vadot interrupts = <8 IRQ_TYPE_EDGE_FALLING>; 366*f126890aSEmmanuel Vadot wakeup-source; 367*f126890aSEmmanuel Vadot }; 368*f126890aSEmmanuel Vadot 369*f126890aSEmmanuel Vadot tps659038_pwr_button: tps659038_pwr_button { 370*f126890aSEmmanuel Vadot compatible = "ti,palmas-pwrbutton"; 371*f126890aSEmmanuel Vadot interrupt-parent = <&tps659038>; 372*f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_EDGE_FALLING>; 373*f126890aSEmmanuel Vadot wakeup-source; 374*f126890aSEmmanuel Vadot ti,palmas-long-press-seconds = <12>; 375*f126890aSEmmanuel Vadot }; 376*f126890aSEmmanuel Vadot 377*f126890aSEmmanuel Vadot tps659038_gpio: tps659038_gpio { 378*f126890aSEmmanuel Vadot compatible = "ti,palmas-gpio"; 379*f126890aSEmmanuel Vadot gpio-controller; 380*f126890aSEmmanuel Vadot #gpio-cells = <2>; 381*f126890aSEmmanuel Vadot }; 382*f126890aSEmmanuel Vadot 383*f126890aSEmmanuel Vadot extcon_usb2: tps659038_usb { 384*f126890aSEmmanuel Vadot compatible = "ti,palmas-usb-vid"; 385*f126890aSEmmanuel Vadot ti,enable-vbus-detection; 386*f126890aSEmmanuel Vadot ti,enable-id-detection; 387*f126890aSEmmanuel Vadot /* ID & VBUS GPIOs provided in board dts */ 388*f126890aSEmmanuel Vadot }; 389*f126890aSEmmanuel Vadot }; 390*f126890aSEmmanuel Vadot 391*f126890aSEmmanuel Vadot tpic2810: tpic2810@60 { 392*f126890aSEmmanuel Vadot compatible = "ti,tpic2810"; 393*f126890aSEmmanuel Vadot reg = <0x60>; 394*f126890aSEmmanuel Vadot gpio-controller; 395*f126890aSEmmanuel Vadot #gpio-cells = <2>; 396*f126890aSEmmanuel Vadot }; 397*f126890aSEmmanuel Vadot 398*f126890aSEmmanuel Vadot dsi_bridge: tc358778@e { 399*f126890aSEmmanuel Vadot compatible = "toshiba,tc358778", "toshiba,tc358768"; 400*f126890aSEmmanuel Vadot reg = <0xe>; 401*f126890aSEmmanuel Vadot status = "disabled"; 402*f126890aSEmmanuel Vadot 403*f126890aSEmmanuel Vadot clocks = <&src_clk_x1>; 404*f126890aSEmmanuel Vadot clock-names = "refclk"; 405*f126890aSEmmanuel Vadot 406*f126890aSEmmanuel Vadot vddc-supply = <&v1_2d>; 407*f126890aSEmmanuel Vadot vddmipi-supply = <&v1_2d>; 408*f126890aSEmmanuel Vadot vddio-supply = <&v3_3d>; 409*f126890aSEmmanuel Vadot 410*f126890aSEmmanuel Vadot dsi_bridge_ports: ports { 411*f126890aSEmmanuel Vadot #address-cells = <1>; 412*f126890aSEmmanuel Vadot #size-cells = <0>; 413*f126890aSEmmanuel Vadot 414*f126890aSEmmanuel Vadot port@0 { 415*f126890aSEmmanuel Vadot reg = <0>; 416*f126890aSEmmanuel Vadot rgb_in: endpoint { 417*f126890aSEmmanuel Vadot remote-endpoint = <&dpi_out>; 418*f126890aSEmmanuel Vadot data-lines = <24>; 419*f126890aSEmmanuel Vadot }; 420*f126890aSEmmanuel Vadot }; 421*f126890aSEmmanuel Vadot }; 422*f126890aSEmmanuel Vadot }; 423*f126890aSEmmanuel Vadot}; 424*f126890aSEmmanuel Vadot 425*f126890aSEmmanuel Vadot&mcspi3 { 426*f126890aSEmmanuel Vadot status = "okay"; 427*f126890aSEmmanuel Vadot ti,pindir-d0-out-d1-in; 428*f126890aSEmmanuel Vadot 429*f126890aSEmmanuel Vadot sn65hvs882: sn65hvs882@0 { 430*f126890aSEmmanuel Vadot compatible = "pisosr-gpio"; 431*f126890aSEmmanuel Vadot gpio-controller; 432*f126890aSEmmanuel Vadot #gpio-cells = <2>; 433*f126890aSEmmanuel Vadot 434*f126890aSEmmanuel Vadot reg = <0>; 435*f126890aSEmmanuel Vadot spi-max-frequency = <1000000>; 436*f126890aSEmmanuel Vadot spi-cpol; 437*f126890aSEmmanuel Vadot }; 438*f126890aSEmmanuel Vadot}; 439*f126890aSEmmanuel Vadot 440*f126890aSEmmanuel Vadot&uart3 { 441*f126890aSEmmanuel Vadot status = "okay"; 442*f126890aSEmmanuel Vadot interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH 443*f126890aSEmmanuel Vadot &dra7_pmx_core 0x248>; 444*f126890aSEmmanuel Vadot}; 445*f126890aSEmmanuel Vadot 446*f126890aSEmmanuel Vadot&rtc { 447*f126890aSEmmanuel Vadot status = "okay"; 448*f126890aSEmmanuel Vadot ext-clk-src; 449*f126890aSEmmanuel Vadot}; 450*f126890aSEmmanuel Vadot 451*f126890aSEmmanuel Vadot&mac_sw { 452*f126890aSEmmanuel Vadot status = "okay"; 453*f126890aSEmmanuel Vadot}; 454*f126890aSEmmanuel Vadot 455*f126890aSEmmanuel Vadot&cpsw_port1 { 456*f126890aSEmmanuel Vadot phy-handle = <ðphy0>; 457*f126890aSEmmanuel Vadot phy-mode = "rgmii-rxid"; 458*f126890aSEmmanuel Vadot ti,dual-emac-pvid = <1>; 459*f126890aSEmmanuel Vadot}; 460*f126890aSEmmanuel Vadot 461*f126890aSEmmanuel Vadot&cpsw_port2 { 462*f126890aSEmmanuel Vadot phy-handle = <ðphy1>; 463*f126890aSEmmanuel Vadot phy-mode = "rgmii-rxid"; 464*f126890aSEmmanuel Vadot ti,dual-emac-pvid = <2>; 465*f126890aSEmmanuel Vadot}; 466*f126890aSEmmanuel Vadot 467*f126890aSEmmanuel Vadot&davinci_mdio_sw { 468*f126890aSEmmanuel Vadot ethphy0: ethernet-phy@0 { 469*f126890aSEmmanuel Vadot reg = <0>; 470*f126890aSEmmanuel Vadot }; 471*f126890aSEmmanuel Vadot 472*f126890aSEmmanuel Vadot ethphy1: ethernet-phy@1 { 473*f126890aSEmmanuel Vadot reg = <1>; 474*f126890aSEmmanuel Vadot }; 475*f126890aSEmmanuel Vadot}; 476*f126890aSEmmanuel Vadot 477*f126890aSEmmanuel Vadot&usb2_phy1 { 478*f126890aSEmmanuel Vadot phy-supply = <&ldousb_reg>; 479*f126890aSEmmanuel Vadot}; 480*f126890aSEmmanuel Vadot 481*f126890aSEmmanuel Vadot&usb2_phy2 { 482*f126890aSEmmanuel Vadot phy-supply = <&ldousb_reg>; 483*f126890aSEmmanuel Vadot}; 484*f126890aSEmmanuel Vadot 485*f126890aSEmmanuel Vadot&usb1 { 486*f126890aSEmmanuel Vadot dr_mode = "host"; 487*f126890aSEmmanuel Vadot}; 488*f126890aSEmmanuel Vadot 489*f126890aSEmmanuel Vadot&omap_dwc3_2 { 490*f126890aSEmmanuel Vadot extcon = <&extcon_usb2>; 491*f126890aSEmmanuel Vadot}; 492*f126890aSEmmanuel Vadot 493*f126890aSEmmanuel Vadot&usb2 { 494*f126890aSEmmanuel Vadot extcon = <&extcon_usb2>; 495*f126890aSEmmanuel Vadot dr_mode = "otg"; 496*f126890aSEmmanuel Vadot}; 497*f126890aSEmmanuel Vadot 498*f126890aSEmmanuel Vadot&mmc1 { 499*f126890aSEmmanuel Vadot status = "okay"; 500*f126890aSEmmanuel Vadot vmmc-supply = <&v3_3d>; 501*f126890aSEmmanuel Vadot vqmmc-supply = <&ldo1_reg>; 502*f126890aSEmmanuel Vadot bus-width = <4>; 503*f126890aSEmmanuel Vadot cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ 504*f126890aSEmmanuel Vadot no-1-8-v; 505*f126890aSEmmanuel Vadot}; 506*f126890aSEmmanuel Vadot 507*f126890aSEmmanuel Vadot&mmc2 { 508*f126890aSEmmanuel Vadot status = "okay"; 509*f126890aSEmmanuel Vadot vmmc-supply = <&v3_3d>; 510*f126890aSEmmanuel Vadot vqmmc-supply = <&v3_3d>; 511*f126890aSEmmanuel Vadot bus-width = <8>; 512*f126890aSEmmanuel Vadot non-removable; 513*f126890aSEmmanuel Vadot max-frequency = <96000000>; 514*f126890aSEmmanuel Vadot no-1-8-v; 515*f126890aSEmmanuel Vadot}; 516*f126890aSEmmanuel Vadot 517*f126890aSEmmanuel Vadot&dcan1 { 518*f126890aSEmmanuel Vadot status = "okay"; 519*f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep", "active"; 520*f126890aSEmmanuel Vadot pinctrl-0 = <&dcan1_pins_sleep>; 521*f126890aSEmmanuel Vadot pinctrl-1 = <&dcan1_pins_sleep>; 522*f126890aSEmmanuel Vadot pinctrl-2 = <&dcan1_pins_default>; 523*f126890aSEmmanuel Vadot}; 524*f126890aSEmmanuel Vadot 525*f126890aSEmmanuel Vadot&qspi { 526*f126890aSEmmanuel Vadot status = "okay"; 527*f126890aSEmmanuel Vadot 528*f126890aSEmmanuel Vadot spi-max-frequency = <76800000>; 529*f126890aSEmmanuel Vadot flash@0 { 530*f126890aSEmmanuel Vadot compatible = "s25fl256s1", "jedec,spi-nor"; 531*f126890aSEmmanuel Vadot spi-max-frequency = <76800000>; 532*f126890aSEmmanuel Vadot reg = <0>; 533*f126890aSEmmanuel Vadot spi-tx-bus-width = <1>; 534*f126890aSEmmanuel Vadot spi-rx-bus-width = <4>; 535*f126890aSEmmanuel Vadot #address-cells = <1>; 536*f126890aSEmmanuel Vadot #size-cells = <1>; 537*f126890aSEmmanuel Vadot 538*f126890aSEmmanuel Vadot /* MTD partition table. 539*f126890aSEmmanuel Vadot * The ROM checks the first four physical blocks 540*f126890aSEmmanuel Vadot * for a valid file to boot and the flash here is 541*f126890aSEmmanuel Vadot * 64KiB block size. 542*f126890aSEmmanuel Vadot */ 543*f126890aSEmmanuel Vadot partition@0 { 544*f126890aSEmmanuel Vadot label = "QSPI.SPL"; 545*f126890aSEmmanuel Vadot reg = <0x00000000 0x00040000>; 546*f126890aSEmmanuel Vadot }; 547*f126890aSEmmanuel Vadot partition@1 { 548*f126890aSEmmanuel Vadot label = "QSPI.u-boot"; 549*f126890aSEmmanuel Vadot reg = <0x00040000 0x00100000>; 550*f126890aSEmmanuel Vadot }; 551*f126890aSEmmanuel Vadot partition@2 { 552*f126890aSEmmanuel Vadot label = "QSPI.u-boot-spl-os"; 553*f126890aSEmmanuel Vadot reg = <0x00140000 0x00080000>; 554*f126890aSEmmanuel Vadot }; 555*f126890aSEmmanuel Vadot partition@3 { 556*f126890aSEmmanuel Vadot label = "QSPI.u-boot-env"; 557*f126890aSEmmanuel Vadot reg = <0x001c0000 0x00010000>; 558*f126890aSEmmanuel Vadot }; 559*f126890aSEmmanuel Vadot partition@4 { 560*f126890aSEmmanuel Vadot label = "QSPI.u-boot-env.backup1"; 561*f126890aSEmmanuel Vadot reg = <0x001d0000 0x0010000>; 562*f126890aSEmmanuel Vadot }; 563*f126890aSEmmanuel Vadot partition@5 { 564*f126890aSEmmanuel Vadot label = "QSPI.kernel"; 565*f126890aSEmmanuel Vadot reg = <0x001e0000 0x0800000>; 566*f126890aSEmmanuel Vadot }; 567*f126890aSEmmanuel Vadot partition@6 { 568*f126890aSEmmanuel Vadot label = "QSPI.file-system"; 569*f126890aSEmmanuel Vadot reg = <0x009e0000 0x01620000>; 570*f126890aSEmmanuel Vadot }; 571*f126890aSEmmanuel Vadot }; 572*f126890aSEmmanuel Vadot}; 573*f126890aSEmmanuel Vadot 574*f126890aSEmmanuel Vadot&cpu0 { 575*f126890aSEmmanuel Vadot vdd-supply = <&smps12_reg>; 576*f126890aSEmmanuel Vadot}; 577*f126890aSEmmanuel Vadot 578*f126890aSEmmanuel Vadot&hdmi { 579*f126890aSEmmanuel Vadot status = "okay"; 580*f126890aSEmmanuel Vadot 581*f126890aSEmmanuel Vadot vdda-supply = <&ldo4_reg>; 582*f126890aSEmmanuel Vadot 583*f126890aSEmmanuel Vadot port { 584*f126890aSEmmanuel Vadot hdmi_out: endpoint { 585*f126890aSEmmanuel Vadot remote-endpoint = <&tpd12s015_in>; 586*f126890aSEmmanuel Vadot }; 587*f126890aSEmmanuel Vadot }; 588*f126890aSEmmanuel Vadot}; 589*f126890aSEmmanuel Vadot 590*f126890aSEmmanuel Vadot&dss { 591*f126890aSEmmanuel Vadot status = "okay"; 592*f126890aSEmmanuel Vadot 593*f126890aSEmmanuel Vadot vdda_video-supply = <&ldoln_reg>; 594*f126890aSEmmanuel Vadot 595*f126890aSEmmanuel Vadot ports { 596*f126890aSEmmanuel Vadot #address-cells = <1>; 597*f126890aSEmmanuel Vadot #size-cells = <0>; 598*f126890aSEmmanuel Vadot 599*f126890aSEmmanuel Vadot port@0 { 600*f126890aSEmmanuel Vadot reg = <0>; 601*f126890aSEmmanuel Vadot 602*f126890aSEmmanuel Vadot dpi_out: endpoint { 603*f126890aSEmmanuel Vadot remote-endpoint = <&rgb_in>; 604*f126890aSEmmanuel Vadot data-lines = <24>; 605*f126890aSEmmanuel Vadot }; 606*f126890aSEmmanuel Vadot }; 607*f126890aSEmmanuel Vadot }; 608*f126890aSEmmanuel Vadot}; 609