1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (C) 2013 Newflow Ltd - http://www.newflow.co.uk/ 4*724ba675SRob Herring */ 5*724ba675SRob Herring/dts-v1/; 6*724ba675SRob Herring 7*724ba675SRob Herring#include "am33xx.dtsi" 8*724ba675SRob Herring 9*724ba675SRob Herring/ { 10*724ba675SRob Herring model = "Newflow AM335x NanoBone"; 11*724ba675SRob Herring compatible = "ti,am33xx"; 12*724ba675SRob Herring 13*724ba675SRob Herring cpus { 14*724ba675SRob Herring cpu@0 { 15*724ba675SRob Herring cpu0-supply = <&dcdc2_reg>; 16*724ba675SRob Herring }; 17*724ba675SRob Herring }; 18*724ba675SRob Herring 19*724ba675SRob Herring memory@80000000 { 20*724ba675SRob Herring device_type = "memory"; 21*724ba675SRob Herring reg = <0x80000000 0x10000000>; /* 256 MB */ 22*724ba675SRob Herring }; 23*724ba675SRob Herring 24*724ba675SRob Herring leds { 25*724ba675SRob Herring compatible = "gpio-leds"; 26*724ba675SRob Herring 27*724ba675SRob Herring led0 { 28*724ba675SRob Herring label = "nanobone:green:usr1"; 29*724ba675SRob Herring gpios = <&gpio1 5 0>; 30*724ba675SRob Herring default-state = "off"; 31*724ba675SRob Herring }; 32*724ba675SRob Herring }; 33*724ba675SRob Herring}; 34*724ba675SRob Herring 35*724ba675SRob Herring&am33xx_pinmux { 36*724ba675SRob Herring pinctrl-names = "default"; 37*724ba675SRob Herring pinctrl-0 = <&misc_pins>; 38*724ba675SRob Herring 39*724ba675SRob Herring misc_pins: misc-pins { 40*724ba675SRob Herring pinctrl-single,pins = < 41*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_OUTPUT, MUX_MODE7) /* spi0_cs0.gpio0_5 */ 42*724ba675SRob Herring >; 43*724ba675SRob Herring }; 44*724ba675SRob Herring 45*724ba675SRob Herring gpmc_pins: gpmc-pins { 46*724ba675SRob Herring pinctrl-single,pins = < 47*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE0) 48*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE0) 49*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE0) 50*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE0) 51*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE0) 52*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE0) 53*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE0) 54*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE0) 55*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD8, PIN_INPUT_PULLUP, MUX_MODE0) 56*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_INPUT_PULLUP, MUX_MODE0) 57*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_INPUT_PULLUP, MUX_MODE0) 58*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_INPUT_PULLUP, MUX_MODE0) 59*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLUP, MUX_MODE0) 60*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLUP, MUX_MODE0) 61*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLUP, MUX_MODE0) 62*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLUP, MUX_MODE0) 63*724ba675SRob Herring 64*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE0) 65*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT, MUX_MODE0) 66*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN1, PIN_OUTPUT, MUX_MODE0) 67*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN2, PIN_OUTPUT, MUX_MODE0) 68*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_OUTPUT, MUX_MODE0) 69*724ba675SRob Herring 70*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_OUTPUT, MUX_MODE0) 71*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_OEN_REN, PIN_OUTPUT, MUX_MODE0) 72*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_WEN, PIN_OUTPUT, MUX_MODE0) 73*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_BEN0_CLE, PIN_OUTPUT, MUX_MODE0) 74*724ba675SRob Herring 75*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA1, PIN_OUTPUT, MUX_MODE1) /* lcd_data1.gpmc_a1 */ 76*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA2, PIN_OUTPUT, MUX_MODE1) /* lcd_data2.gpmc_a2 */ 77*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA3, PIN_OUTPUT, MUX_MODE1) /* lcd_data3.gpmc_a3 */ 78*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA4, PIN_OUTPUT, MUX_MODE1) /* lcd_data4.gpmc_a4 */ 79*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA5, PIN_OUTPUT, MUX_MODE1) /* lcd_data5.gpmc_a5 */ 80*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA6, PIN_OUTPUT, MUX_MODE1) /* lcd_data6.gpmc_a6 */ 81*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA7, PIN_OUTPUT, MUX_MODE1) /* lcd_data7.gpmc_a7 */ 82*724ba675SRob Herring 83*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT, MUX_MODE1) /* lcd_vsync.gpmc_a8 */ 84*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_OUTPUT, MUX_MODE1) /* lcd_hsync.gpmc_a9 */ 85*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_OUTPUT, MUX_MODE1) /* lcd_pclk.gpmc_a10 */ 86*724ba675SRob Herring >; 87*724ba675SRob Herring }; 88*724ba675SRob Herring 89*724ba675SRob Herring i2c0_pins: i2c0-pins { 90*724ba675SRob Herring pinctrl-single,pins = < 91*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLDOWN, MUX_MODE0) 92*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLDOWN, MUX_MODE0) 93*724ba675SRob Herring >; 94*724ba675SRob Herring }; 95*724ba675SRob Herring 96*724ba675SRob Herring uart0_pins: uart0-pins { 97*724ba675SRob Herring pinctrl-single,pins = < 98*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 99*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT, MUX_MODE0) 100*724ba675SRob Herring >; 101*724ba675SRob Herring }; 102*724ba675SRob Herring 103*724ba675SRob Herring uart1_pins: uart1-pins { 104*724ba675SRob Herring pinctrl-single,pins = < 105*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_OUTPUT, MUX_MODE7) 106*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT, MUX_MODE7) 107*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 108*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT, MUX_MODE0) 109*724ba675SRob Herring >; 110*724ba675SRob Herring }; 111*724ba675SRob Herring 112*724ba675SRob Herring uart2_pins: uart2-pins { 113*724ba675SRob Herring pinctrl-single,pins = < 114*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PIN_INPUT_PULLUP, MUX_MODE7) /* lcd_data8.gpio2[14] */ 115*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PIN_OUTPUT, MUX_MODE7) /* lcd_data9.gpio2[15] */ 116*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE1) /* spi0_sclk.uart2_rxd */ 117*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT, MUX_MODE1) /* spi0_d0.uart2_txd */ 118*724ba675SRob Herring >; 119*724ba675SRob Herring }; 120*724ba675SRob Herring 121*724ba675SRob Herring uart3_pins: uart3-pins { 122*724ba675SRob Herring pinctrl-single,pins = < 123*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PIN_INPUT_PULLUP, MUX_MODE7) /* lcd_data10.gpio2[16] */ 124*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PIN_OUTPUT, MUX_MODE7) /* lcd_data11.gpio2[17] */ 125*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT, MUX_MODE1) /* spi0_cs1.uart3_rxd */ 126*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, PIN_OUTPUT, MUX_MODE1) /* ecap0_in_pwm0_out.uart3_txd */ 127*724ba675SRob Herring >; 128*724ba675SRob Herring }; 129*724ba675SRob Herring 130*724ba675SRob Herring uart4_pins: uart4-pins { 131*724ba675SRob Herring pinctrl-single,pins = < 132*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_INPUT_PULLUP, MUX_MODE7) /* lcd_data12.gpio0[8] */ 133*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_OUTPUT, MUX_MODE7) /* lcd_data13.gpio0[9] */ 134*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT, MUX_MODE1) /* uart0_ctsn.uart4_rxd */ 135*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_OUTPUT, MUX_MODE1) /* uart0_rtsn.uart4_txd */ 136*724ba675SRob Herring >; 137*724ba675SRob Herring }; 138*724ba675SRob Herring 139*724ba675SRob Herring uart5_pins: uart5-pins { 140*724ba675SRob Herring pinctrl-single,pins = < 141*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PIN_INPUT, MUX_MODE4) /* lcd_data14.uart5_rxd */ 142*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_OUTPUT, MUX_MODE3) /* rmiii1_refclk.uart5_txd */ 143*724ba675SRob Herring >; 144*724ba675SRob Herring }; 145*724ba675SRob Herring 146*724ba675SRob Herring mmc1_pins: mmc1-pins { 147*724ba675SRob Herring pinctrl-single,pins = < 148*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0) 149*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0) 150*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0) 151*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0) 152*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0) /* mmc0_clk.mmc0_clk */ 153*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0) /* mmc0_cmd.mmc0_cmd */ 154*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_EMU1, PIN_INPUT_PULLUP, MUX_MODE7) /* emu1.gpio3[8] */ 155*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_INPUT_PULLUP, MUX_MODE7) /* mcasp0_aclkr.gpio3[18] */ 156*724ba675SRob Herring >; 157*724ba675SRob Herring }; 158*724ba675SRob Herring}; 159*724ba675SRob Herring 160*724ba675SRob Herring&uart0 { 161*724ba675SRob Herring pinctrl-names = "default"; 162*724ba675SRob Herring pinctrl-0 = <&uart0_pins>; 163*724ba675SRob Herring status = "okay"; 164*724ba675SRob Herring}; 165*724ba675SRob Herring 166*724ba675SRob Herring&uart1 { 167*724ba675SRob Herring pinctrl-names = "default"; 168*724ba675SRob Herring pinctrl-0 = <&uart1_pins>; 169*724ba675SRob Herring status = "okay"; 170*724ba675SRob Herring rts-gpio = <&gpio0 13 GPIO_ACTIVE_HIGH>; 171*724ba675SRob Herring rs485-rts-active-high; 172*724ba675SRob Herring rs485-rx-during-tx; 173*724ba675SRob Herring rs485-rts-delay = <1 1>; 174*724ba675SRob Herring linux,rs485-enabled-at-boot-time; 175*724ba675SRob Herring}; 176*724ba675SRob Herring 177*724ba675SRob Herring&uart2 { 178*724ba675SRob Herring pinctrl-names = "default"; 179*724ba675SRob Herring pinctrl-0 = <&uart2_pins>; 180*724ba675SRob Herring status = "okay"; 181*724ba675SRob Herring rts-gpio = <&gpio2 15 GPIO_ACTIVE_HIGH>; 182*724ba675SRob Herring rs485-rts-active-high; 183*724ba675SRob Herring rs485-rts-delay = <1 1>; 184*724ba675SRob Herring linux,rs485-enabled-at-boot-time; 185*724ba675SRob Herring}; 186*724ba675SRob Herring 187*724ba675SRob Herring&uart3 { 188*724ba675SRob Herring pinctrl-names = "default"; 189*724ba675SRob Herring pinctrl-0 = <&uart3_pins>; 190*724ba675SRob Herring rts-gpio = <&gpio2 17 GPIO_ACTIVE_HIGH>; 191*724ba675SRob Herring rs485-rts-active-high; 192*724ba675SRob Herring rs485-rx-during-tx; 193*724ba675SRob Herring rs485-rts-delay = <1 1>; 194*724ba675SRob Herring linux,rs485-enabled-at-boot-time; 195*724ba675SRob Herring status = "okay"; 196*724ba675SRob Herring}; 197*724ba675SRob Herring 198*724ba675SRob Herring&uart4 { 199*724ba675SRob Herring pinctrl-names = "default"; 200*724ba675SRob Herring pinctrl-0 = <&uart4_pins>; 201*724ba675SRob Herring rts-gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>; 202*724ba675SRob Herring rs485-rts-active-high; 203*724ba675SRob Herring rs485-rx-during-tx; 204*724ba675SRob Herring rs485-rts-delay = <1 1>; 205*724ba675SRob Herring linux,rs485-enabled-at-boot-time; 206*724ba675SRob Herring status = "okay"; 207*724ba675SRob Herring}; 208*724ba675SRob Herring 209*724ba675SRob Herring&uart5 { 210*724ba675SRob Herring pinctrl-names = "default"; 211*724ba675SRob Herring pinctrl-0 = <&uart5_pins>; 212*724ba675SRob Herring status = "okay"; 213*724ba675SRob Herring}; 214*724ba675SRob Herring 215*724ba675SRob Herring&i2c0 { 216*724ba675SRob Herring status = "okay"; 217*724ba675SRob Herring pinctrl-names = "default"; 218*724ba675SRob Herring clock-frequency = <400000>; 219*724ba675SRob Herring pinctrl-names = "default"; 220*724ba675SRob Herring pinctrl-0 = <&i2c0_pins>; 221*724ba675SRob Herring 222*724ba675SRob Herring gpio@20 { 223*724ba675SRob Herring compatible = "microchip,mcp23017"; 224*724ba675SRob Herring gpio-controller; 225*724ba675SRob Herring #gpio-cells = <2>; 226*724ba675SRob Herring reg = <0x20>; 227*724ba675SRob Herring }; 228*724ba675SRob Herring 229*724ba675SRob Herring tps: tps@24 { 230*724ba675SRob Herring reg = <0x24>; 231*724ba675SRob Herring }; 232*724ba675SRob Herring 233*724ba675SRob Herring temperature-sensor@48 { 234*724ba675SRob Herring compatible = "lm75"; 235*724ba675SRob Herring reg = <0x48>; 236*724ba675SRob Herring }; 237*724ba675SRob Herring 238*724ba675SRob Herring eeprom@53 { 239*724ba675SRob Herring compatible = "microchip,24c02", "atmel,24c02"; 240*724ba675SRob Herring reg = <0x53>; 241*724ba675SRob Herring pagesize = <8>; 242*724ba675SRob Herring }; 243*724ba675SRob Herring 244*724ba675SRob Herring rtc@68 { 245*724ba675SRob Herring compatible = "dallas,ds1307"; 246*724ba675SRob Herring reg = <0x68>; 247*724ba675SRob Herring }; 248*724ba675SRob Herring}; 249*724ba675SRob Herring 250*724ba675SRob Herring&elm { 251*724ba675SRob Herring status = "okay"; 252*724ba675SRob Herring}; 253*724ba675SRob Herring 254*724ba675SRob Herring&gpmc { 255*724ba675SRob Herring compatible = "ti,am3352-gpmc"; 256*724ba675SRob Herring status = "okay"; 257*724ba675SRob Herring gpmc,num-waitpins = <2>; 258*724ba675SRob Herring pinctrl-names = "default"; 259*724ba675SRob Herring pinctrl-0 = <&gpmc_pins>; 260*724ba675SRob Herring 261*724ba675SRob Herring #address-cells = <2>; 262*724ba675SRob Herring #size-cells = <1>; 263*724ba675SRob Herring ranges = <0 0 0x08000000 0x08000000>, /* CS0: NOR 128M */ 264*724ba675SRob Herring <1 0 0x1c000000 0x01000000>; /* CS1: FRAM 16M */ 265*724ba675SRob Herring 266*724ba675SRob Herring nor@0,0 { 267*724ba675SRob Herring reg = <0 0x00000000 0x08000000>; 268*724ba675SRob Herring compatible = "cfi-flash"; 269*724ba675SRob Herring linux,mtd-name = "spansion,s29gl010p11t"; 270*724ba675SRob Herring bank-width = <2>; 271*724ba675SRob Herring 272*724ba675SRob Herring gpmc,mux-add-data = <2>; 273*724ba675SRob Herring 274*724ba675SRob Herring gpmc,sync-clk-ps = <0>; 275*724ba675SRob Herring gpmc,cs-on-ns = <0>; 276*724ba675SRob Herring gpmc,cs-rd-off-ns = <160>; 277*724ba675SRob Herring gpmc,cs-wr-off-ns = <160>; 278*724ba675SRob Herring gpmc,adv-on-ns = <10>; 279*724ba675SRob Herring gpmc,adv-rd-off-ns = <30>; 280*724ba675SRob Herring gpmc,adv-wr-off-ns = <30>; 281*724ba675SRob Herring gpmc,oe-on-ns = <40>; 282*724ba675SRob Herring gpmc,oe-off-ns = <160>; 283*724ba675SRob Herring gpmc,we-on-ns = <40>; 284*724ba675SRob Herring gpmc,we-off-ns = <160>; 285*724ba675SRob Herring gpmc,rd-cycle-ns = <160>; 286*724ba675SRob Herring gpmc,wr-cycle-ns = <160>; 287*724ba675SRob Herring gpmc,access-ns = <150>; 288*724ba675SRob Herring gpmc,page-burst-access-ns = <10>; 289*724ba675SRob Herring gpmc,cycle2cycle-samecsen; 290*724ba675SRob Herring gpmc,cycle2cycle-delay-ns = <20>; 291*724ba675SRob Herring gpmc,wr-data-mux-bus-ns = <70>; 292*724ba675SRob Herring gpmc,wr-access-ns = <80>; 293*724ba675SRob Herring 294*724ba675SRob Herring #address-cells = <1>; 295*724ba675SRob Herring #size-cells = <1>; 296*724ba675SRob Herring 297*724ba675SRob Herring /* 298*724ba675SRob Herring MTD partition table 299*724ba675SRob Herring =================== 300*724ba675SRob Herring +------------+-->0x00000000-> U-Boot start 301*724ba675SRob Herring | | 302*724ba675SRob Herring | |-->0x000BFFFF-> U-Boot end 303*724ba675SRob Herring | |-->0x000C0000-> ENV1 start 304*724ba675SRob Herring | | 305*724ba675SRob Herring | |-->0x000DFFFF-> ENV1 end 306*724ba675SRob Herring | |-->0x000E0000-> ENV2 start 307*724ba675SRob Herring | | 308*724ba675SRob Herring | |-->0x000FFFFF-> ENV2 end 309*724ba675SRob Herring | |-->0x00100000-> Kernel start 310*724ba675SRob Herring | | 311*724ba675SRob Herring | |-->0x004FFFFF-> Kernel end 312*724ba675SRob Herring | |-->0x00500000-> File system start 313*724ba675SRob Herring | | 314*724ba675SRob Herring | |-->0x01FFFFFF-> File system end 315*724ba675SRob Herring | |-->0x02000000-> User data start 316*724ba675SRob Herring | | 317*724ba675SRob Herring | |-->0x03FFFFFF-> User data end 318*724ba675SRob Herring | |-->0x04000000-> Data storage start 319*724ba675SRob Herring | | 320*724ba675SRob Herring +------------+-->0x08000000-> NOR end (Free end) 321*724ba675SRob Herring */ 322*724ba675SRob Herring partition@0 { 323*724ba675SRob Herring label = "boot"; 324*724ba675SRob Herring reg = <0x00000000 0x000c0000>; /* 768KB */ 325*724ba675SRob Herring }; 326*724ba675SRob Herring 327*724ba675SRob Herring partition@1 { 328*724ba675SRob Herring label = "env1"; 329*724ba675SRob Herring reg = <0x000c0000 0x00020000>; /* 128KB */ 330*724ba675SRob Herring }; 331*724ba675SRob Herring 332*724ba675SRob Herring partition@2 { 333*724ba675SRob Herring label = "env2"; 334*724ba675SRob Herring reg = <0x000e0000 0x00020000>; /* 128KB */ 335*724ba675SRob Herring }; 336*724ba675SRob Herring 337*724ba675SRob Herring partition@3 { 338*724ba675SRob Herring label = "kernel"; 339*724ba675SRob Herring reg = <0x00100000 0x00400000>; /* 4MB */ 340*724ba675SRob Herring }; 341*724ba675SRob Herring 342*724ba675SRob Herring partition@4 { 343*724ba675SRob Herring label = "rootfs"; 344*724ba675SRob Herring reg = <0x00500000 0x01b00000>; /* 27MB */ 345*724ba675SRob Herring }; 346*724ba675SRob Herring 347*724ba675SRob Herring partition@5 { 348*724ba675SRob Herring label = "user"; 349*724ba675SRob Herring reg = <0x02000000 0x02000000>; /* 32MB */ 350*724ba675SRob Herring }; 351*724ba675SRob Herring 352*724ba675SRob Herring partition@6 { 353*724ba675SRob Herring label = "data"; 354*724ba675SRob Herring reg = <0x04000000 0x04000000>; /* 64MB */ 355*724ba675SRob Herring }; 356*724ba675SRob Herring }; 357*724ba675SRob Herring 358*724ba675SRob Herring fram@1,0 { 359*724ba675SRob Herring reg = <1 0x00000000 0x01000000>; 360*724ba675SRob Herring bank-width = <2>; 361*724ba675SRob Herring 362*724ba675SRob Herring gpmc,mux-add-data = <2>; 363*724ba675SRob Herring 364*724ba675SRob Herring gpmc,sync-clk-ps = <0>; 365*724ba675SRob Herring gpmc,cs-on-ns = <0>; 366*724ba675SRob Herring gpmc,cs-rd-off-ns = <160>; 367*724ba675SRob Herring gpmc,cs-wr-off-ns = <160>; 368*724ba675SRob Herring gpmc,adv-on-ns = <10>; 369*724ba675SRob Herring gpmc,adv-rd-off-ns = <20>; 370*724ba675SRob Herring gpmc,adv-wr-off-ns = <20>; 371*724ba675SRob Herring gpmc,oe-on-ns = <30>; 372*724ba675SRob Herring gpmc,oe-off-ns = <150>; 373*724ba675SRob Herring gpmc,we-on-ns = <30>; 374*724ba675SRob Herring gpmc,we-off-ns = <150>; 375*724ba675SRob Herring gpmc,rd-cycle-ns = <160>; 376*724ba675SRob Herring gpmc,wr-cycle-ns = <160>; 377*724ba675SRob Herring gpmc,access-ns = <130>; 378*724ba675SRob Herring gpmc,page-burst-access-ns = <10>; 379*724ba675SRob Herring gpmc,cycle2cycle-samecsen; 380*724ba675SRob Herring gpmc,cycle2cycle-diffcsen; 381*724ba675SRob Herring gpmc,cycle2cycle-delay-ns = <10>; 382*724ba675SRob Herring gpmc,wr-data-mux-bus-ns = <30>; 383*724ba675SRob Herring gpmc,wr-access-ns = <0>; 384*724ba675SRob Herring }; 385*724ba675SRob Herring}; 386*724ba675SRob Herring 387*724ba675SRob Herring&mac_sw { 388*724ba675SRob Herring status = "okay"; 389*724ba675SRob Herring}; 390*724ba675SRob Herring 391*724ba675SRob Herring&davinci_mdio_sw { 392*724ba675SRob Herring status = "okay"; 393*724ba675SRob Herring 394*724ba675SRob Herring ethphy0: ethernet-phy@0 { 395*724ba675SRob Herring reg = <0>; 396*724ba675SRob Herring }; 397*724ba675SRob Herring 398*724ba675SRob Herring ethphy1: ethernet-phy@1 { 399*724ba675SRob Herring reg = <1>; 400*724ba675SRob Herring }; 401*724ba675SRob Herring}; 402*724ba675SRob Herring 403*724ba675SRob Herring&cpsw_port1 { 404*724ba675SRob Herring phy-handle = <ðphy0>; 405*724ba675SRob Herring phy-mode = "mii"; 406*724ba675SRob Herring ti,dual-emac-pvid = <1>; 407*724ba675SRob Herring}; 408*724ba675SRob Herring 409*724ba675SRob Herring&cpsw_port2 { 410*724ba675SRob Herring phy-handle = <ðphy1>; 411*724ba675SRob Herring phy-mode = "mii"; 412*724ba675SRob Herring ti,dual-emac-pvid = <2>; 413*724ba675SRob Herring}; 414*724ba675SRob Herring 415*724ba675SRob Herring&mmc1 { 416*724ba675SRob Herring status = "okay"; 417*724ba675SRob Herring vmmc-supply = <&ldo4_reg>; 418*724ba675SRob Herring pinctrl-names = "default"; 419*724ba675SRob Herring pinctrl-0 = <&mmc1_pins>; 420*724ba675SRob Herring bus-width = <4>; 421*724ba675SRob Herring cd-debounce-delay-ms = <5>; 422*724ba675SRob Herring cd-gpios = <&gpio3 8 GPIO_ACTIVE_LOW>; 423*724ba675SRob Herring wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>; 424*724ba675SRob Herring}; 425*724ba675SRob Herring 426*724ba675SRob Herring&usb0 { 427*724ba675SRob Herring dr_mode = "host"; 428*724ba675SRob Herring}; 429*724ba675SRob Herring 430*724ba675SRob Herring#include "../../tps65217.dtsi" 431*724ba675SRob Herring 432*724ba675SRob Herring&tps { 433*724ba675SRob Herring regulators { 434*724ba675SRob Herring dcdc1_reg: regulator@0 { 435*724ba675SRob Herring /* +1.5V voltage with ±4% tolerance */ 436*724ba675SRob Herring regulator-min-microvolt = <1450000>; 437*724ba675SRob Herring regulator-max-microvolt = <1550000>; 438*724ba675SRob Herring regulator-boot-on; 439*724ba675SRob Herring regulator-always-on; 440*724ba675SRob Herring }; 441*724ba675SRob Herring 442*724ba675SRob Herring dcdc2_reg: regulator@1 { 443*724ba675SRob Herring /* VDD_MPU voltage limits 0.95V - 1.1V with ±4% tolerance */ 444*724ba675SRob Herring regulator-name = "vdd_mpu"; 445*724ba675SRob Herring regulator-min-microvolt = <915000>; 446*724ba675SRob Herring regulator-max-microvolt = <1140000>; 447*724ba675SRob Herring regulator-boot-on; 448*724ba675SRob Herring regulator-always-on; 449*724ba675SRob Herring }; 450*724ba675SRob Herring 451*724ba675SRob Herring dcdc3_reg: regulator@2 { 452*724ba675SRob Herring /* VDD_CORE voltage limits 0.95V - 1.1V with ±4% tolerance */ 453*724ba675SRob Herring regulator-name = "vdd_core"; 454*724ba675SRob Herring regulator-min-microvolt = <915000>; 455*724ba675SRob Herring regulator-max-microvolt = <1140000>; 456*724ba675SRob Herring regulator-boot-on; 457*724ba675SRob Herring regulator-always-on; 458*724ba675SRob Herring }; 459*724ba675SRob Herring 460*724ba675SRob Herring ldo1_reg: regulator@3 { 461*724ba675SRob Herring /* +1.8V voltage with ±4% tolerance */ 462*724ba675SRob Herring regulator-min-microvolt = <1750000>; 463*724ba675SRob Herring regulator-max-microvolt = <1870000>; 464*724ba675SRob Herring regulator-boot-on; 465*724ba675SRob Herring regulator-always-on; 466*724ba675SRob Herring }; 467*724ba675SRob Herring 468*724ba675SRob Herring ldo2_reg: regulator@4 { 469*724ba675SRob Herring /* +3.3V voltage with ±4% tolerance */ 470*724ba675SRob Herring regulator-min-microvolt = <3175000>; 471*724ba675SRob Herring regulator-max-microvolt = <3430000>; 472*724ba675SRob Herring regulator-boot-on; 473*724ba675SRob Herring regulator-always-on; 474*724ba675SRob Herring }; 475*724ba675SRob Herring 476*724ba675SRob Herring ldo3_reg: regulator@5 { 477*724ba675SRob Herring /* +1.8V voltage with ±4% tolerance */ 478*724ba675SRob Herring regulator-min-microvolt = <1750000>; 479*724ba675SRob Herring regulator-max-microvolt = <1870000>; 480*724ba675SRob Herring regulator-boot-on; 481*724ba675SRob Herring regulator-always-on; 482*724ba675SRob Herring }; 483*724ba675SRob Herring 484*724ba675SRob Herring ldo4_reg: regulator@6 { 485*724ba675SRob Herring /* +3.3V voltage with ±4% tolerance */ 486*724ba675SRob Herring regulator-min-microvolt = <3175000>; 487*724ba675SRob Herring regulator-max-microvolt = <3430000>; 488*724ba675SRob Herring regulator-boot-on; 489*724ba675SRob Herring regulator-always-on; 490*724ba675SRob Herring }; 491*724ba675SRob Herring }; 492*724ba675SRob Herring}; 493