dra72-evm.dts revision 279377
1279377Simp/* 2279377Simp * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 3279377Simp * 4279377Simp * This program is free software; you can redistribute it and/or modify 5279377Simp * it under the terms of the GNU General Public License version 2 as 6279377Simp * published by the Free Software Foundation. 7279377Simp */ 8279377Simp/dts-v1/; 9279377Simp 10279377Simp#include "dra72x.dtsi" 11279377Simp#include <dt-bindings/gpio/gpio.h> 12279377Simp 13279377Simp/ { 14279377Simp model = "TI DRA722"; 15279377Simp compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7"; 16279377Simp 17279377Simp memory { 18279377Simp device_type = "memory"; 19279377Simp reg = <0x80000000 0x40000000>; /* 1024 MB */ 20279377Simp }; 21279377Simp 22279377Simp evm_3v3: fixedregulator-evm_3v3 { 23279377Simp compatible = "regulator-fixed"; 24279377Simp regulator-name = "evm_3v3"; 25279377Simp regulator-min-microvolt = <3300000>; 26279377Simp regulator-max-microvolt = <3300000>; 27279377Simp }; 28279377Simp 29279377Simp extcon_usb1: extcon_usb1 { 30279377Simp compatible = "linux,extcon-usb-gpio"; 31279377Simp id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; 32279377Simp }; 33279377Simp 34279377Simp extcon_usb2: extcon_usb2 { 35279377Simp compatible = "linux,extcon-usb-gpio"; 36279377Simp id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>; 37279377Simp }; 38279377Simp}; 39279377Simp 40279377Simp&dra7_pmx_core { 41279377Simp i2c1_pins: pinmux_i2c1_pins { 42279377Simp pinctrl-single,pins = < 43279377Simp 0x400 (PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */ 44279377Simp 0x404 (PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */ 45279377Simp >; 46279377Simp }; 47279377Simp 48279377Simp nand_default: nand_default { 49279377Simp pinctrl-single,pins = < 50279377Simp 0x0 (PIN_INPUT | MUX_MODE0) /* gpmc_ad0 */ 51279377Simp 0x4 (PIN_INPUT | MUX_MODE0) /* gpmc_ad1 */ 52279377Simp 0x8 (PIN_INPUT | MUX_MODE0) /* gpmc_ad2 */ 53279377Simp 0xc (PIN_INPUT | MUX_MODE0) /* gpmc_ad3 */ 54279377Simp 0x10 (PIN_INPUT | MUX_MODE0) /* gpmc_ad4 */ 55279377Simp 0x14 (PIN_INPUT | MUX_MODE0) /* gpmc_ad5 */ 56279377Simp 0x18 (PIN_INPUT | MUX_MODE0) /* gpmc_ad6 */ 57279377Simp 0x1c (PIN_INPUT | MUX_MODE0) /* gpmc_ad7 */ 58279377Simp 0x20 (PIN_INPUT | MUX_MODE0) /* gpmc_ad8 */ 59279377Simp 0x24 (PIN_INPUT | MUX_MODE0) /* gpmc_ad9 */ 60279377Simp 0x28 (PIN_INPUT | MUX_MODE0) /* gpmc_ad10 */ 61279377Simp 0x2c (PIN_INPUT | MUX_MODE0) /* gpmc_ad11 */ 62279377Simp 0x30 (PIN_INPUT | MUX_MODE0) /* gpmc_ad12 */ 63279377Simp 0x34 (PIN_INPUT | MUX_MODE0) /* gpmc_ad13 */ 64279377Simp 0x38 (PIN_INPUT | MUX_MODE0) /* gpmc_ad14 */ 65279377Simp 0x3c (PIN_INPUT | MUX_MODE0) /* gpmc_ad15 */ 66279377Simp 0xb4 (PIN_OUTPUT | MUX_MODE0) /* gpmc_cs0 */ 67279377Simp 0xc4 (PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale */ 68279377Simp 0xcc (PIN_OUTPUT | MUX_MODE0) /* gpmc_wen */ 69279377Simp 0xc8 (PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren */ 70279377Simp 0xd0 (PIN_OUTPUT | MUX_MODE0) /* gpmc_ben0 */ 71279377Simp 0xd8 (PIN_INPUT | MUX_MODE0) /* gpmc_wait0 */ 72279377Simp >; 73279377Simp }; 74279377Simp 75279377Simp usb1_pins: pinmux_usb1_pins { 76279377Simp pinctrl-single,pins = < 77279377Simp 0x280 (PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */ 78279377Simp >; 79279377Simp }; 80279377Simp 81279377Simp usb2_pins: pinmux_usb2_pins { 82279377Simp pinctrl-single,pins = < 83279377Simp 0x284 (PIN_INPUT_SLEW | MUX_MODE0) /* usb2_drvvbus */ 84279377Simp >; 85279377Simp }; 86279377Simp 87279377Simp tps65917_pins_default: tps65917_pins_default { 88279377Simp pinctrl-single,pins = < 89279377Simp 0x424 (PIN_INPUT_PULLUP | MUX_MODE1) /* wakeup3.sys_nirq1 */ 90279377Simp >; 91279377Simp }; 92279377Simp 93279377Simp mmc1_pins_default: mmc1_pins_default { 94279377Simp pinctrl-single,pins = < 95279377Simp 0x36c (PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio219 */ 96279377Simp 0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ 97279377Simp 0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ 98279377Simp 0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ 99279377Simp 0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ 100279377Simp 0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ 101279377Simp 0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ 102279377Simp >; 103279377Simp }; 104279377Simp 105279377Simp mmc2_pins_default: mmc2_pins_default { 106279377Simp pinctrl-single,pins = < 107279377Simp 0x9c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ 108279377Simp 0xb0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ 109279377Simp 0xa0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ 110279377Simp 0xa4 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ 111279377Simp 0xa8 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ 112279377Simp 0xac (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ 113279377Simp 0x8c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ 114279377Simp 0x90 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ 115279377Simp 0x94 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ 116279377Simp 0x98 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ 117279377Simp >; 118279377Simp }; 119279377Simp 120279377Simp dcan1_pins_default: dcan1_pins_default { 121279377Simp pinctrl-single,pins = < 122279377Simp 0x3d0 (PIN_OUTPUT | MUX_MODE0) /* dcan1_tx */ 123279377Simp 0x3d4 (MUX_MODE15) /* dcan1_rx.off */ 124279377Simp 0x418 (PULL_DIS | MUX_MODE1) /* wakeup0.dcan1_rx */ 125279377Simp >; 126279377Simp }; 127279377Simp 128279377Simp dcan1_pins_sleep: dcan1_pins_sleep { 129279377Simp pinctrl-single,pins = < 130279377Simp 0x3d0 (MUX_MODE15) /* dcan1_tx.off */ 131279377Simp 0x3d4 (MUX_MODE15) /* dcan1_rx.off */ 132279377Simp 0x418 (MUX_MODE15) /* wakeup0.off */ 133279377Simp >; 134279377Simp }; 135279377Simp 136279377Simp qspi1_pins: pinmux_qspi1_pins { 137279377Simp pinctrl-single,pins = < 138279377Simp 0x74 (PIN_OUTPUT | MUX_MODE1) /* gpmc_a13.qspi1_rtclk */ 139279377Simp 0x78 (PIN_INPUT | MUX_MODE1) /* gpmc_a14.qspi1_d3 */ 140279377Simp 0x7c (PIN_INPUT | MUX_MODE1) /* gpmc_a15.qspi1_d2 */ 141279377Simp 0x80 (PIN_INPUT | MUX_MODE1) /* gpmc_a16.qspi1_d1 */ 142279377Simp 0x84 (PIN_INPUT | MUX_MODE1) /* gpmc_a17.qspi1_d0 */ 143279377Simp 0x88 (PIN_OUTPUT | MUX_MODE1) /* qpmc_a18.qspi1_sclk */ 144279377Simp 0xb8 (PIN_OUTPUT | MUX_MODE1) /* gpmc_cs2.qspi1_cs0 */ 145279377Simp >; 146279377Simp }; 147279377Simp}; 148279377Simp 149279377Simp&i2c1 { 150279377Simp status = "okay"; 151279377Simp pinctrl-names = "default"; 152279377Simp pinctrl-0 = <&i2c1_pins>; 153279377Simp clock-frequency = <400000>; 154279377Simp 155279377Simp tps65917: tps65917@58 { 156279377Simp compatible = "ti,tps65917"; 157279377Simp reg = <0x58>; 158279377Simp 159279377Simp pinctrl-names = "default"; 160279377Simp pinctrl-0 = <&tps65917_pins_default>; 161279377Simp 162279377Simp interrupts = <GIC_SPI 2 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */ 163279377Simp interrupt-parent = <&gic>; 164279377Simp interrupt-controller; 165279377Simp #interrupt-cells = <2>; 166279377Simp 167279377Simp ti,system-power-controller; 168279377Simp 169279377Simp tps65917_pmic { 170279377Simp compatible = "ti,tps65917-pmic"; 171279377Simp 172279377Simp regulators { 173279377Simp smps1_reg: smps1 { 174279377Simp /* VDD_MPU */ 175279377Simp regulator-name = "smps1"; 176279377Simp regulator-min-microvolt = <850000>; 177279377Simp regulator-max-microvolt = <1250000>; 178279377Simp regulator-always-on; 179279377Simp regulator-boot-on; 180279377Simp }; 181279377Simp 182279377Simp smps2_reg: smps2 { 183279377Simp /* VDD_CORE */ 184279377Simp regulator-name = "smps2"; 185279377Simp regulator-min-microvolt = <850000>; 186279377Simp regulator-max-microvolt = <1060000>; 187279377Simp regulator-boot-on; 188279377Simp regulator-always-on; 189279377Simp }; 190279377Simp 191279377Simp smps3_reg: smps3 { 192279377Simp /* VDD_GPU IVA DSPEVE */ 193279377Simp regulator-name = "smps3"; 194279377Simp regulator-min-microvolt = <850000>; 195279377Simp regulator-max-microvolt = <1250000>; 196279377Simp regulator-boot-on; 197279377Simp regulator-always-on; 198279377Simp }; 199279377Simp 200279377Simp smps4_reg: smps4 { 201279377Simp /* VDDS1V8 */ 202279377Simp regulator-name = "smps4"; 203279377Simp regulator-min-microvolt = <1800000>; 204279377Simp regulator-max-microvolt = <1800000>; 205279377Simp regulator-always-on; 206279377Simp regulator-boot-on; 207279377Simp }; 208279377Simp 209279377Simp smps5_reg: smps5 { 210279377Simp /* VDD_DDR */ 211279377Simp regulator-name = "smps5"; 212279377Simp regulator-min-microvolt = <1350000>; 213279377Simp regulator-max-microvolt = <1350000>; 214279377Simp regulator-boot-on; 215279377Simp regulator-always-on; 216279377Simp }; 217279377Simp 218279377Simp ldo1_reg: ldo1 { 219279377Simp /* LDO1_OUT --> SDIO */ 220279377Simp regulator-name = "ldo1"; 221279377Simp regulator-min-microvolt = <1800000>; 222279377Simp regulator-max-microvolt = <3300000>; 223279377Simp regulator-boot-on; 224279377Simp }; 225279377Simp 226279377Simp ldo2_reg: ldo2 { 227279377Simp /* LDO2_OUT --> TP1017 (UNUSED) */ 228279377Simp regulator-name = "ldo2"; 229279377Simp regulator-min-microvolt = <1800000>; 230279377Simp regulator-max-microvolt = <3300000>; 231279377Simp }; 232279377Simp 233279377Simp ldo3_reg: ldo3 { 234279377Simp /* VDDA_1V8_PHY */ 235279377Simp regulator-name = "ldo3"; 236279377Simp regulator-min-microvolt = <1800000>; 237279377Simp regulator-max-microvolt = <1800000>; 238279377Simp regulator-boot-on; 239279377Simp regulator-always-on; 240279377Simp }; 241279377Simp 242279377Simp ldo5_reg: ldo5 { 243279377Simp /* VDDA_1V8_PLL */ 244279377Simp regulator-name = "ldo5"; 245279377Simp regulator-min-microvolt = <1800000>; 246279377Simp regulator-max-microvolt = <1800000>; 247279377Simp regulator-always-on; 248279377Simp regulator-boot-on; 249279377Simp }; 250279377Simp 251279377Simp ldo4_reg: ldo4 { 252279377Simp /* VDDA_3V_USB: VDDA_USBHS33 */ 253279377Simp regulator-name = "ldo4"; 254279377Simp regulator-min-microvolt = <3300000>; 255279377Simp regulator-max-microvolt = <3300000>; 256279377Simp regulator-boot-on; 257279377Simp }; 258279377Simp }; 259279377Simp }; 260279377Simp 261279377Simp tps65917_power_button { 262279377Simp compatible = "ti,palmas-pwrbutton"; 263279377Simp interrupt-parent = <&tps65917>; 264279377Simp interrupts = <1 IRQ_TYPE_NONE>; 265279377Simp wakeup-source; 266279377Simp ti,palmas-long-press-seconds = <6>; 267279377Simp }; 268279377Simp }; 269279377Simp 270279377Simp pcf_gpio_21: gpio@21 { 271279377Simp compatible = "ti,pcf8575"; 272279377Simp reg = <0x21>; 273279377Simp lines-initial-states = <0x1408>; 274279377Simp gpio-controller; 275279377Simp #gpio-cells = <2>; 276279377Simp interrupt-parent = <&gpio6>; 277279377Simp interrupts = <11 IRQ_TYPE_EDGE_FALLING>; 278279377Simp interrupt-controller; 279279377Simp #interrupt-cells = <2>; 280279377Simp }; 281279377Simp}; 282279377Simp 283279377Simp&uart1 { 284279377Simp status = "okay"; 285279377Simp}; 286279377Simp 287279377Simp&elm { 288279377Simp status = "okay"; 289279377Simp}; 290279377Simp 291279377Simp&gpmc { 292279377Simp status = "okay"; 293279377Simp pinctrl-names = "default"; 294279377Simp pinctrl-0 = <&nand_default>; 295279377Simp ranges = <0 0 0 0x01000000>; /* minimum GPMC partition = 16MB */ 296279377Simp nand@0,0 { 297279377Simp /* To use NAND, DIP switch SW5 must be set like so: 298279377Simp * SW5.1 (NAND_SELn) = ON (LOW) 299279377Simp * SW5.9 (GPMC_WPN) = OFF (HIGH) 300279377Simp */ 301279377Simp reg = <0 0 4>; /* device IO registers */ 302279377Simp ti,nand-ecc-opt = "bch8"; 303279377Simp ti,elm-id = <&elm>; 304279377Simp nand-bus-width = <16>; 305279377Simp gpmc,device-width = <2>; 306279377Simp gpmc,sync-clk-ps = <0>; 307279377Simp gpmc,cs-on-ns = <0>; 308279377Simp gpmc,cs-rd-off-ns = <80>; 309279377Simp gpmc,cs-wr-off-ns = <80>; 310279377Simp gpmc,adv-on-ns = <0>; 311279377Simp gpmc,adv-rd-off-ns = <60>; 312279377Simp gpmc,adv-wr-off-ns = <60>; 313279377Simp gpmc,we-on-ns = <10>; 314279377Simp gpmc,we-off-ns = <50>; 315279377Simp gpmc,oe-on-ns = <4>; 316279377Simp gpmc,oe-off-ns = <40>; 317279377Simp gpmc,access-ns = <40>; 318279377Simp gpmc,wr-access-ns = <80>; 319279377Simp gpmc,rd-cycle-ns = <80>; 320279377Simp gpmc,wr-cycle-ns = <80>; 321279377Simp gpmc,bus-turnaround-ns = <0>; 322279377Simp gpmc,cycle2cycle-delay-ns = <0>; 323279377Simp gpmc,clk-activation-ns = <0>; 324279377Simp gpmc,wait-monitoring-ns = <0>; 325279377Simp gpmc,wr-data-mux-bus-ns = <0>; 326279377Simp /* MTD partition table */ 327279377Simp /* All SPL-* partitions are sized to minimal length 328279377Simp * which can be independently programmable. For 329279377Simp * NAND flash this is equal to size of erase-block */ 330279377Simp #address-cells = <1>; 331279377Simp #size-cells = <1>; 332279377Simp partition@0 { 333279377Simp label = "NAND.SPL"; 334279377Simp reg = <0x00000000 0x000020000>; 335279377Simp }; 336279377Simp partition@1 { 337279377Simp label = "NAND.SPL.backup1"; 338279377Simp reg = <0x00020000 0x00020000>; 339279377Simp }; 340279377Simp partition@2 { 341279377Simp label = "NAND.SPL.backup2"; 342279377Simp reg = <0x00040000 0x00020000>; 343279377Simp }; 344279377Simp partition@3 { 345279377Simp label = "NAND.SPL.backup3"; 346279377Simp reg = <0x00060000 0x00020000>; 347279377Simp }; 348279377Simp partition@4 { 349279377Simp label = "NAND.u-boot-spl-os"; 350279377Simp reg = <0x00080000 0x00040000>; 351279377Simp }; 352279377Simp partition@5 { 353279377Simp label = "NAND.u-boot"; 354279377Simp reg = <0x000c0000 0x00100000>; 355279377Simp }; 356279377Simp partition@6 { 357279377Simp label = "NAND.u-boot-env"; 358279377Simp reg = <0x001c0000 0x00020000>; 359279377Simp }; 360279377Simp partition@7 { 361279377Simp label = "NAND.u-boot-env.backup1"; 362279377Simp reg = <0x001e0000 0x00020000>; 363279377Simp }; 364279377Simp partition@8 { 365279377Simp label = "NAND.kernel"; 366279377Simp reg = <0x00200000 0x00800000>; 367279377Simp }; 368279377Simp partition@9 { 369279377Simp label = "NAND.file-system"; 370279377Simp reg = <0x00a00000 0x0f600000>; 371279377Simp }; 372279377Simp }; 373279377Simp}; 374279377Simp 375279377Simp&usb2_phy1 { 376279377Simp phy-supply = <&ldo4_reg>; 377279377Simp}; 378279377Simp 379279377Simp&usb2_phy2 { 380279377Simp phy-supply = <&ldo4_reg>; 381279377Simp}; 382279377Simp 383279377Simp&omap_dwc3_1 { 384279377Simp extcon = <&extcon_usb1>; 385279377Simp}; 386279377Simp 387279377Simp&omap_dwc3_2 { 388279377Simp extcon = <&extcon_usb2>; 389279377Simp}; 390279377Simp 391279377Simp&usb1 { 392279377Simp dr_mode = "peripheral"; 393279377Simp pinctrl-names = "default"; 394279377Simp pinctrl-0 = <&usb1_pins>; 395279377Simp}; 396279377Simp 397279377Simp&usb2 { 398279377Simp dr_mode = "host"; 399279377Simp pinctrl-names = "default"; 400279377Simp pinctrl-0 = <&usb2_pins>; 401279377Simp}; 402279377Simp 403279377Simp&mmc1 { 404279377Simp status = "okay"; 405279377Simp pinctrl-names = "default"; 406279377Simp pinctrl-0 = <&mmc1_pins_default>; 407279377Simp 408279377Simp vmmc-supply = <&ldo1_reg>; 409279377Simp bus-width = <4>; 410279377Simp /* 411279377Simp * SDCD signal is not being used here - using the fact that GPIO mode 412279377Simp * is a viable alternative 413279377Simp */ 414279377Simp cd-gpios = <&gpio6 27 0>; 415279377Simp}; 416279377Simp 417279377Simp&mmc2 { 418279377Simp /* SW5-3 in ON position */ 419279377Simp status = "okay"; 420279377Simp pinctrl-names = "default"; 421279377Simp pinctrl-0 = <&mmc2_pins_default>; 422279377Simp 423279377Simp vmmc-supply = <&evm_3v3>; 424279377Simp bus-width = <8>; 425279377Simp ti,non-removable; 426279377Simp}; 427279377Simp 428279377Simp&dra7_pmx_core { 429279377Simp cpsw_default: cpsw_default { 430279377Simp pinctrl-single,pins = < 431279377Simp /* Slave 2 */ 432279377Simp 0x198 (PIN_OUTPUT | MUX_MODE3) /* vin2a_d12.rgmii1_txc */ 433279377Simp 0x19c (PIN_OUTPUT | MUX_MODE3) /* vin2a_d13.rgmii1_tctl */ 434279377Simp 0x1a0 (PIN_OUTPUT | MUX_MODE3) /* vin2a_d14.rgmii1_td3 */ 435279377Simp 0x1a4 (PIN_OUTPUT | MUX_MODE3) /* vin2a_d15.rgmii1_td2 */ 436279377Simp 0x1a8 (PIN_OUTPUT | MUX_MODE3) /* vin2a_d16.rgmii1_td1 */ 437279377Simp 0x1ac (PIN_OUTPUT | MUX_MODE3) /* vin2a_d17.rgmii1_td0 */ 438279377Simp 0x1b0 (PIN_INPUT | MUX_MODE3) /* vin2a_d18.rgmii1_rclk */ 439279377Simp 0x1b4 (PIN_INPUT | MUX_MODE3) /* vin2a_d19.rgmii1_rctl */ 440279377Simp 0x1b8 (PIN_INPUT | MUX_MODE3) /* vin2a_d20.rgmii1_rd3 */ 441279377Simp 0x1bc (PIN_INPUT | MUX_MODE3) /* vin2a_d21.rgmii1_rd2 */ 442279377Simp 0x1c0 (PIN_INPUT | MUX_MODE3) /* vin2a_d22.rgmii1_rd1 */ 443279377Simp 0x1c4 (PIN_INPUT | MUX_MODE3) /* vin2a_d23.rgmii1_rd0 */ 444279377Simp >; 445279377Simp 446279377Simp }; 447279377Simp 448279377Simp cpsw_sleep: cpsw_sleep { 449279377Simp pinctrl-single,pins = < 450279377Simp /* Slave 2 */ 451279377Simp 0x198 (MUX_MODE15) 452279377Simp 0x19c (MUX_MODE15) 453279377Simp 0x1a0 (MUX_MODE15) 454279377Simp 0x1a4 (MUX_MODE15) 455279377Simp 0x1a8 (MUX_MODE15) 456279377Simp 0x1ac (MUX_MODE15) 457279377Simp 0x1b0 (MUX_MODE15) 458279377Simp 0x1b4 (MUX_MODE15) 459279377Simp 0x1b8 (MUX_MODE15) 460279377Simp 0x1bc (MUX_MODE15) 461279377Simp 0x1c0 (MUX_MODE15) 462279377Simp 0x1c4 (MUX_MODE15) 463279377Simp >; 464279377Simp }; 465279377Simp 466279377Simp davinci_mdio_default: davinci_mdio_default { 467279377Simp pinctrl-single,pins = < 468279377Simp /* MDIO */ 469279377Simp 0x23c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_d.mdio_d */ 470279377Simp 0x240 (PIN_INPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */ 471279377Simp >; 472279377Simp }; 473279377Simp 474279377Simp davinci_mdio_sleep: davinci_mdio_sleep { 475279377Simp pinctrl-single,pins = < 476279377Simp 0x23c (MUX_MODE15) 477279377Simp 0x240 (MUX_MODE15) 478279377Simp >; 479279377Simp }; 480279377Simp}; 481279377Simp 482279377Simp&mac { 483279377Simp status = "okay"; 484279377Simp pinctrl-names = "default", "sleep"; 485279377Simp pinctrl-0 = <&cpsw_default>; 486279377Simp pinctrl-1 = <&cpsw_sleep>; 487279377Simp}; 488279377Simp 489279377Simp&cpsw_emac1 { 490279377Simp phy_id = <&davinci_mdio>, <3>; 491279377Simp phy-mode = "rgmii"; 492279377Simp}; 493279377Simp 494279377Simp&davinci_mdio { 495279377Simp pinctrl-names = "default", "sleep"; 496279377Simp pinctrl-0 = <&davinci_mdio_default>; 497279377Simp pinctrl-1 = <&davinci_mdio_sleep>; 498279377Simp active_slave = <1>; 499279377Simp}; 500279377Simp 501279377Simp&dcan1 { 502279377Simp status = "ok"; 503279377Simp pinctrl-names = "default", "sleep"; 504279377Simp pinctrl-0 = <&dcan1_pins_default>; 505279377Simp pinctrl-1 = <&dcan1_pins_sleep>; 506279377Simp}; 507279377Simp 508279377Simp&qspi { 509279377Simp status = "okay"; 510279377Simp pinctrl-names = "default"; 511279377Simp pinctrl-0 = <&qspi1_pins>; 512279377Simp 513279377Simp spi-max-frequency = <48000000>; 514279377Simp m25p80@0 { 515279377Simp compatible = "s25fl256s1"; 516279377Simp spi-max-frequency = <48000000>; 517279377Simp reg = <0>; 518279377Simp spi-tx-bus-width = <1>; 519279377Simp spi-rx-bus-width = <4>; 520279377Simp spi-cpol; 521279377Simp spi-cpha; 522279377Simp #address-cells = <1>; 523279377Simp #size-cells = <1>; 524279377Simp 525279377Simp /* MTD partition table. 526279377Simp * The ROM checks the first four physical blocks 527279377Simp * for a valid file to boot and the flash here is 528279377Simp * 64KiB block size. 529279377Simp */ 530279377Simp partition@0 { 531279377Simp label = "QSPI.SPL"; 532279377Simp reg = <0x00000000 0x000010000>; 533279377Simp }; 534279377Simp partition@1 { 535279377Simp label = "QSPI.SPL.backup1"; 536279377Simp reg = <0x00010000 0x00010000>; 537279377Simp }; 538279377Simp partition@2 { 539279377Simp label = "QSPI.SPL.backup2"; 540279377Simp reg = <0x00020000 0x00010000>; 541279377Simp }; 542279377Simp partition@3 { 543279377Simp label = "QSPI.SPL.backup3"; 544279377Simp reg = <0x00030000 0x00010000>; 545279377Simp }; 546279377Simp partition@4 { 547279377Simp label = "QSPI.u-boot"; 548279377Simp reg = <0x00040000 0x00100000>; 549279377Simp }; 550279377Simp partition@5 { 551279377Simp label = "QSPI.u-boot-spl-os"; 552279377Simp reg = <0x00140000 0x00080000>; 553279377Simp }; 554279377Simp partition@6 { 555279377Simp label = "QSPI.u-boot-env"; 556279377Simp reg = <0x001c0000 0x00010000>; 557279377Simp }; 558279377Simp partition@7 { 559279377Simp label = "QSPI.u-boot-env.backup1"; 560279377Simp reg = <0x001d0000 0x0010000>; 561279377Simp }; 562279377Simp partition@8 { 563279377Simp label = "QSPI.kernel"; 564279377Simp reg = <0x001e0000 0x0800000>; 565279377Simp }; 566279377Simp partition@9 { 567279377Simp label = "QSPI.file-system"; 568279377Simp reg = <0x009e0000 0x01620000>; 569279377Simp }; 570279377Simp }; 571279377Simp}; 572