1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only 2724ba675SRob Herring/* 3724ba675SRob Herring * am335x-igep0033.dtsi - Device Tree file for IGEP COM AQUILA AM335x 4724ba675SRob Herring * 5*9f2967e4SNishanth Menon * Copyright (C) 2013 ISEE 2007 SL - https://www.isee.biz 6724ba675SRob Herring */ 7724ba675SRob Herring 8724ba675SRob Herring/dts-v1/; 9724ba675SRob Herring 10724ba675SRob Herring#include "am33xx.dtsi" 11724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 12724ba675SRob Herring 13724ba675SRob Herring/ { 14724ba675SRob Herring cpus { 15724ba675SRob Herring cpu@0 { 16724ba675SRob Herring cpu0-supply = <&vdd1_reg>; 17724ba675SRob Herring }; 18724ba675SRob Herring }; 19724ba675SRob Herring 20724ba675SRob Herring memory@80000000 { 21724ba675SRob Herring device_type = "memory"; 22724ba675SRob Herring reg = <0x80000000 0x10000000>; /* 256 MB */ 23724ba675SRob Herring }; 24724ba675SRob Herring 25724ba675SRob Herring leds { 26724ba675SRob Herring pinctrl-names = "default"; 27724ba675SRob Herring pinctrl-0 = <&leds_pins>; 28724ba675SRob Herring 29724ba675SRob Herring compatible = "gpio-leds"; 30724ba675SRob Herring 31724ba675SRob Herring led0 { 32724ba675SRob Herring label = "com:green:user"; 33724ba675SRob Herring gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; 34724ba675SRob Herring default-state = "on"; 35724ba675SRob Herring }; 36724ba675SRob Herring }; 37724ba675SRob Herring 38724ba675SRob Herring vbat: fixedregulator0 { 39724ba675SRob Herring compatible = "regulator-fixed"; 40724ba675SRob Herring regulator-name = "vbat"; 41724ba675SRob Herring regulator-min-microvolt = <5000000>; 42724ba675SRob Herring regulator-max-microvolt = <5000000>; 43724ba675SRob Herring regulator-boot-on; 44724ba675SRob Herring }; 45724ba675SRob Herring 46724ba675SRob Herring vmmc: fixedregulator1 { 47724ba675SRob Herring compatible = "regulator-fixed"; 48724ba675SRob Herring regulator-name = "vmmc"; 49724ba675SRob Herring regulator-min-microvolt = <3300000>; 50724ba675SRob Herring regulator-max-microvolt = <3300000>; 51724ba675SRob Herring }; 52724ba675SRob Herring}; 53724ba675SRob Herring 54724ba675SRob Herring&am33xx_pinmux { 55724ba675SRob Herring i2c0_pins: i2c0-pins { 56724ba675SRob Herring pinctrl-single,pins = < 57724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLUP, MUX_MODE0) 58724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLUP, MUX_MODE0) 59724ba675SRob Herring >; 60724ba675SRob Herring }; 61724ba675SRob Herring 62724ba675SRob Herring nandflash_pins: nandflash-pins { 63724ba675SRob Herring pinctrl-single,pins = < 64724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE0) 65724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE0) 66724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE0) 67724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE0) 68724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE0) 69724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE0) 70724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE0) 71724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE0) 72724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE0) 73724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLUP, MUX_MODE7) /* gpmc_wpn.gpio0_31 */ 74724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT, MUX_MODE0) 75724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_OUTPUT, MUX_MODE0) 76724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_OEN_REN, PIN_OUTPUT, MUX_MODE0) 77724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_WEN, PIN_OUTPUT, MUX_MODE0) 78724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_BEN0_CLE, PIN_OUTPUT, MUX_MODE0) 79724ba675SRob Herring >; 80724ba675SRob Herring }; 81724ba675SRob Herring 82724ba675SRob Herring uart0_pins: uart0-pins { 83724ba675SRob Herring pinctrl-single,pins = < 84724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 85724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 86724ba675SRob Herring >; 87724ba675SRob Herring }; 88724ba675SRob Herring 89724ba675SRob Herring leds_pins: leds-pins { 90724ba675SRob Herring pinctrl-single,pins = < 91724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_a7.gpio1_23 */ 92724ba675SRob Herring >; 93724ba675SRob Herring }; 94724ba675SRob Herring}; 95724ba675SRob Herring 96724ba675SRob Herring&mac_sw { 97724ba675SRob Herring status = "okay"; 98724ba675SRob Herring}; 99724ba675SRob Herring 100724ba675SRob Herring&davinci_mdio_sw { 101724ba675SRob Herring 102724ba675SRob Herring ethphy0: ethernet-phy@0 { 103724ba675SRob Herring reg = <0>; 104724ba675SRob Herring }; 105724ba675SRob Herring 106724ba675SRob Herring ethphy1: ethernet-phy@1 { 107724ba675SRob Herring reg = <1>; 108724ba675SRob Herring }; 109724ba675SRob Herring}; 110724ba675SRob Herring 111724ba675SRob Herring&cpsw_port1 { 112724ba675SRob Herring phy-handle = <ðphy0>; 113724ba675SRob Herring phy-mode = "rmii"; 114724ba675SRob Herring ti,dual-emac-pvid = <1>; 115724ba675SRob Herring}; 116724ba675SRob Herring 117724ba675SRob Herring&cpsw_port2 { 118724ba675SRob Herring phy-handle = <ðphy1>; 119724ba675SRob Herring phy-mode = "rmii"; 120724ba675SRob Herring ti,dual-emac-pvid = <2>; 121724ba675SRob Herring}; 122724ba675SRob Herring 123724ba675SRob Herring&elm { 124724ba675SRob Herring status = "okay"; 125724ba675SRob Herring}; 126724ba675SRob Herring 127724ba675SRob Herring&gpmc { 128724ba675SRob Herring status = "okay"; 129724ba675SRob Herring pinctrl-names = "default"; 130724ba675SRob Herring pinctrl-0 = <&nandflash_pins>; 131724ba675SRob Herring 132724ba675SRob Herring ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */ 133724ba675SRob Herring 134724ba675SRob Herring nand@0,0 { 135724ba675SRob Herring compatible = "ti,omap2-nand"; 136724ba675SRob Herring reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 137724ba675SRob Herring interrupt-parent = <&gpmc>; 138724ba675SRob Herring interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 139724ba675SRob Herring <1 IRQ_TYPE_NONE>; /* termcount */ 140724ba675SRob Herring rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ 141724ba675SRob Herring nand-bus-width = <8>; 142724ba675SRob Herring ti,nand-ecc-opt = "bch8"; 143724ba675SRob Herring gpmc,device-width = <1>; 144724ba675SRob Herring gpmc,sync-clk-ps = <0>; 145724ba675SRob Herring gpmc,cs-on-ns = <0>; 146724ba675SRob Herring gpmc,cs-rd-off-ns = <44>; 147724ba675SRob Herring gpmc,cs-wr-off-ns = <44>; 148724ba675SRob Herring gpmc,adv-on-ns = <6>; 149724ba675SRob Herring gpmc,adv-rd-off-ns = <34>; 150724ba675SRob Herring gpmc,adv-wr-off-ns = <44>; 151724ba675SRob Herring gpmc,we-on-ns = <0>; 152724ba675SRob Herring gpmc,we-off-ns = <40>; 153724ba675SRob Herring gpmc,oe-on-ns = <0>; 154724ba675SRob Herring gpmc,oe-off-ns = <54>; 155724ba675SRob Herring gpmc,access-ns = <64>; 156724ba675SRob Herring gpmc,rd-cycle-ns = <82>; 157724ba675SRob Herring gpmc,wr-cycle-ns = <82>; 158724ba675SRob Herring gpmc,bus-turnaround-ns = <0>; 159724ba675SRob Herring gpmc,cycle2cycle-delay-ns = <0>; 160724ba675SRob Herring gpmc,clk-activation-ns = <0>; 161724ba675SRob Herring gpmc,wr-access-ns = <40>; 162724ba675SRob Herring gpmc,wr-data-mux-bus-ns = <0>; 163724ba675SRob Herring 164724ba675SRob Herring #address-cells = <1>; 165724ba675SRob Herring #size-cells = <1>; 166724ba675SRob Herring ti,elm-id = <&elm>; 167724ba675SRob Herring 168724ba675SRob Herring /* MTD partition table */ 169724ba675SRob Herring partition@0 { 170724ba675SRob Herring label = "SPL"; 171724ba675SRob Herring reg = <0x00000000 0x00080000>; 172724ba675SRob Herring }; 173724ba675SRob Herring 174724ba675SRob Herring partition@1 { 175724ba675SRob Herring label = "U-boot"; 176724ba675SRob Herring reg = <0x00080000 0x001e0000>; 177724ba675SRob Herring }; 178724ba675SRob Herring 179724ba675SRob Herring partition@2 { 180724ba675SRob Herring label = "U-Boot Env"; 181724ba675SRob Herring reg = <0x00260000 0x00020000>; 182724ba675SRob Herring }; 183724ba675SRob Herring 184724ba675SRob Herring partition@3 { 185724ba675SRob Herring label = "Kernel"; 186724ba675SRob Herring reg = <0x00280000 0x00500000>; 187724ba675SRob Herring }; 188724ba675SRob Herring 189724ba675SRob Herring partition@4 { 190724ba675SRob Herring label = "File System"; 191724ba675SRob Herring reg = <0x00780000 0x07880000>; 192724ba675SRob Herring }; 193724ba675SRob Herring }; 194724ba675SRob Herring}; 195724ba675SRob Herring 196724ba675SRob Herring&i2c0 { 197724ba675SRob Herring status = "okay"; 198724ba675SRob Herring pinctrl-names = "default"; 199724ba675SRob Herring pinctrl-0 = <&i2c0_pins>; 200724ba675SRob Herring 201724ba675SRob Herring clock-frequency = <400000>; 202724ba675SRob Herring 203724ba675SRob Herring tps: tps@2d { 204724ba675SRob Herring reg = <0x2d>; 205724ba675SRob Herring }; 206724ba675SRob Herring}; 207724ba675SRob Herring 208724ba675SRob Herring&mmc1 { 209724ba675SRob Herring status = "okay"; 210724ba675SRob Herring vmmc-supply = <&vmmc>; 211724ba675SRob Herring bus-width = <4>; 212724ba675SRob Herring}; 213724ba675SRob Herring 214724ba675SRob Herring&uart0 { 215724ba675SRob Herring status = "okay"; 216724ba675SRob Herring pinctrl-names = "default"; 217724ba675SRob Herring pinctrl-0 = <&uart0_pins>; 218724ba675SRob Herring}; 219724ba675SRob Herring 220724ba675SRob Herring&usb1 { 221724ba675SRob Herring dr_mode = "host"; 222724ba675SRob Herring}; 223724ba675SRob Herring 224724ba675SRob Herring#include "../../tps65910.dtsi" 225724ba675SRob Herring 226724ba675SRob Herring&tps { 227724ba675SRob Herring vcc1-supply = <&vbat>; 228724ba675SRob Herring vcc2-supply = <&vbat>; 229724ba675SRob Herring vcc3-supply = <&vbat>; 230724ba675SRob Herring vcc4-supply = <&vbat>; 231724ba675SRob Herring vcc5-supply = <&vbat>; 232724ba675SRob Herring vcc6-supply = <&vbat>; 233724ba675SRob Herring vcc7-supply = <&vbat>; 234724ba675SRob Herring vccio-supply = <&vbat>; 235724ba675SRob Herring 236724ba675SRob Herring regulators { 237724ba675SRob Herring vrtc_reg: regulator@0 { 238724ba675SRob Herring regulator-always-on; 239724ba675SRob Herring }; 240724ba675SRob Herring 241724ba675SRob Herring vio_reg: regulator@1 { 242724ba675SRob Herring regulator-always-on; 243724ba675SRob Herring }; 244724ba675SRob Herring 245724ba675SRob Herring vdd1_reg: regulator@2 { 246724ba675SRob Herring /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ 247724ba675SRob Herring regulator-name = "vdd_mpu"; 248724ba675SRob Herring regulator-min-microvolt = <912500>; 249724ba675SRob Herring regulator-max-microvolt = <1312500>; 250724ba675SRob Herring regulator-boot-on; 251724ba675SRob Herring regulator-always-on; 252724ba675SRob Herring }; 253724ba675SRob Herring 254724ba675SRob Herring vdd2_reg: regulator@3 { 255724ba675SRob Herring /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ 256724ba675SRob Herring regulator-name = "vdd_core"; 257724ba675SRob Herring regulator-min-microvolt = <912500>; 258724ba675SRob Herring regulator-max-microvolt = <1150000>; 259724ba675SRob Herring regulator-boot-on; 260724ba675SRob Herring regulator-always-on; 261724ba675SRob Herring }; 262724ba675SRob Herring 263724ba675SRob Herring vdd3_reg: regulator@4 { 264724ba675SRob Herring regulator-always-on; 265724ba675SRob Herring }; 266724ba675SRob Herring 267724ba675SRob Herring vdig1_reg: regulator@5 { 268724ba675SRob Herring regulator-always-on; 269724ba675SRob Herring }; 270724ba675SRob Herring 271724ba675SRob Herring vdig2_reg: regulator@6 { 272724ba675SRob Herring regulator-always-on; 273724ba675SRob Herring }; 274724ba675SRob Herring 275724ba675SRob Herring vpll_reg: regulator@7 { 276724ba675SRob Herring regulator-always-on; 277724ba675SRob Herring }; 278724ba675SRob Herring 279724ba675SRob Herring vdac_reg: regulator@8 { 280724ba675SRob Herring regulator-always-on; 281724ba675SRob Herring }; 282724ba675SRob Herring 283724ba675SRob Herring vaux1_reg: regulator@9 { 284724ba675SRob Herring regulator-always-on; 285724ba675SRob Herring }; 286724ba675SRob Herring 287724ba675SRob Herring vaux2_reg: regulator@10 { 288724ba675SRob Herring regulator-always-on; 289724ba675SRob Herring }; 290724ba675SRob Herring 291724ba675SRob Herring vaux33_reg: regulator@11 { 292724ba675SRob Herring regulator-always-on; 293724ba675SRob Herring }; 294724ba675SRob Herring 295724ba675SRob Herring vmmc_reg: regulator@12 { 296724ba675SRob Herring regulator-always-on; 297724ba675SRob Herring }; 298724ba675SRob Herring }; 299724ba675SRob Herring}; 300724ba675SRob Herring 301