1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 4f126890aSEmmanuel Vadot */ 5f126890aSEmmanuel Vadot 6f126890aSEmmanuel Vadot/* 7f126890aSEmmanuel Vadot * VScom OnRISC 8*01950c46SEmmanuel Vadot * https://www.vscom.de 9f126890aSEmmanuel Vadot */ 10f126890aSEmmanuel Vadot 11f126890aSEmmanuel Vadot#include "am33xx.dtsi" 12f126890aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h> 13f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 14f126890aSEmmanuel Vadot 15f126890aSEmmanuel Vadot/ { 16f126890aSEmmanuel Vadot compatible = "vscom,onrisc", "ti,am33xx"; 17f126890aSEmmanuel Vadot 18f126890aSEmmanuel Vadot cpus { 19f126890aSEmmanuel Vadot cpu@0 { 20f126890aSEmmanuel Vadot cpu0-supply = <&vdd1_reg>; 21f126890aSEmmanuel Vadot }; 22f126890aSEmmanuel Vadot }; 23f126890aSEmmanuel Vadot 24f126890aSEmmanuel Vadot memory@80000000 { 25f126890aSEmmanuel Vadot device_type = "memory"; 26f126890aSEmmanuel Vadot reg = <0x80000000 0x10000000>; /* 256 MB */ 27f126890aSEmmanuel Vadot }; 28f126890aSEmmanuel Vadot 29f126890aSEmmanuel Vadot vbat: fixedregulator0 { 30f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 31f126890aSEmmanuel Vadot regulator-name = "vbat"; 32f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 33f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 34f126890aSEmmanuel Vadot regulator-boot-on; 35f126890aSEmmanuel Vadot }; 36f126890aSEmmanuel Vadot 37f126890aSEmmanuel Vadot wl12xx_vmmc: fixedregulator2 { 38f126890aSEmmanuel Vadot pinctrl-names = "default"; 39f126890aSEmmanuel Vadot pinctrl-0 = <&wl12xx_gpio>; 40f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 41f126890aSEmmanuel Vadot regulator-name = "vwl1271"; 42f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 43f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 44f126890aSEmmanuel Vadot gpio = <&gpio3 8 0>; 45f126890aSEmmanuel Vadot startup-delay-us = <70000>; 46f126890aSEmmanuel Vadot enable-active-high; 47f126890aSEmmanuel Vadot }; 48f126890aSEmmanuel Vadot}; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot&am33xx_pinmux { 51f126890aSEmmanuel Vadot mmc2_pins: mmc2-pins { 52f126890aSEmmanuel Vadot pinctrl-single,pins = < 53f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD8, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_ad8.mmc1_dat0_mux0 */ 54f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_ad9.mmc1_dat1_mux0 */ 55f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_ad10.mmc1_dat2_mux0 */ 56f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_ad11.mmc1_dat3_mux0 */ 57f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_CSN1, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_csn1.mmc1_clk_mux0 */ 58f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_CSN2, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_csn2.mmc1_cmd_mux0 */ 59f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_EMU0, PIN_INPUT_PULLUP, MUX_MODE7) /* emu0.gpio3[7] */ 60f126890aSEmmanuel Vadot >; 61f126890aSEmmanuel Vadot }; 62f126890aSEmmanuel Vadot 63f126890aSEmmanuel Vadot wl12xx_gpio: wl12xx-gpio-pins { 64f126890aSEmmanuel Vadot pinctrl-single,pins = < 65f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_EMU1, PIN_OUTPUT_PULLUP, MUX_MODE7) /* emu1.gpio3[8] */ 66f126890aSEmmanuel Vadot >; 67f126890aSEmmanuel Vadot }; 68f126890aSEmmanuel Vadot 69f126890aSEmmanuel Vadot tps65910_pins: tps65910-pins { 70f126890aSEmmanuel Vadot pinctrl-single,pins = < 71f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_INPUT_PULLUP, MUX_MODE7) /* gpmc_ben1.gpio1[28] */ 72f126890aSEmmanuel Vadot >; 73f126890aSEmmanuel Vadot }; 74f126890aSEmmanuel Vadot 75f126890aSEmmanuel Vadot i2c1_pins: i2c1-pins { 76f126890aSEmmanuel Vadot pinctrl-single,pins = < 77f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT, MUX_MODE2) /* spi0_d1.i2c1_sda_mux3 */ 78f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT, MUX_MODE2) /* spi0_cs0.i2c1_scl_mux3 */ 79f126890aSEmmanuel Vadot >; 80f126890aSEmmanuel Vadot }; 81f126890aSEmmanuel Vadot 82f126890aSEmmanuel Vadot uart0_pins: uart0-pins { 83f126890aSEmmanuel Vadot pinctrl-single,pins = < 84f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 85f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 86f126890aSEmmanuel Vadot >; 87f126890aSEmmanuel Vadot }; 88f126890aSEmmanuel Vadot 89f126890aSEmmanuel Vadot cpsw_default: cpsw-default-pins { 90f126890aSEmmanuel Vadot pinctrl-single,pins = < 91f126890aSEmmanuel Vadot /* Slave 1 */ 92f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE1) /* mii1_crs.rmii1_crs_dv */ 93f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* mii1_tx_en.rmii1_txen */ 94f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* mii1_txd1.rmii1_txd1 */ 95f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* mii1_txd0.rmii1_txd0 */ 96f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE1) /* mii1_rxd1.rmii1_rxd1 */ 97f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE1) /* mii1_rxd0.rmii1_rxd0 */ 98f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE0) /* rmii1_ref_clk.rmii1_refclk */ 99f126890aSEmmanuel Vadot 100f126890aSEmmanuel Vadot 101f126890aSEmmanuel Vadot /* Slave 2 */ 102f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a0.rgmii2_tctl */ 103f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a1.rgmii2_rctl */ 104f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a2.rgmii2_td3 */ 105f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A3, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a3.rgmii2_td2 */ 106f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a4.rgmii2_td1 */ 107f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a5.rgmii2_td0 */ 108f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a6.rgmii2_tclk */ 109f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a7.rgmii2_rclk */ 110f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a8.rgmii2_rd3 */ 111f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a9.rgmii2_rd2 */ 112f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a10.rgmii2_rd1 */ 113f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a11.rgmii2_rd0 */ 114f126890aSEmmanuel Vadot >; 115f126890aSEmmanuel Vadot }; 116f126890aSEmmanuel Vadot 117f126890aSEmmanuel Vadot cpsw_sleep: cpsw-sleep-pins { 118f126890aSEmmanuel Vadot pinctrl-single,pins = < 119f126890aSEmmanuel Vadot /* Slave 1 reset value */ 120f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE7) 121f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) 122f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_INPUT_PULLDOWN, MUX_MODE7) 123f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_INPUT_PULLDOWN, MUX_MODE7) 124f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE7) 125f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE7) 126f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7) 127f126890aSEmmanuel Vadot 128f126890aSEmmanuel Vadot /* Slave 2 reset value*/ 129f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_INPUT_PULLDOWN, MUX_MODE7) 130f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_INPUT_PULLDOWN, MUX_MODE7) 131f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_INPUT_PULLDOWN, MUX_MODE7) 132f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A3, PIN_INPUT_PULLDOWN, MUX_MODE7) 133f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_INPUT_PULLDOWN, MUX_MODE7) 134f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_INPUT_PULLDOWN, MUX_MODE7) 135f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_INPUT_PULLDOWN, MUX_MODE7) 136f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_INPUT_PULLDOWN, MUX_MODE7) 137f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_INPUT_PULLDOWN, MUX_MODE7) 138f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLDOWN, MUX_MODE7) 139f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE7) 140f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE7) 141f126890aSEmmanuel Vadot >; 142f126890aSEmmanuel Vadot }; 143f126890aSEmmanuel Vadot 144f126890aSEmmanuel Vadot davinci_mdio_default: davinci-mdio-default-pins { 145f126890aSEmmanuel Vadot pinctrl-single,pins = < 146f126890aSEmmanuel Vadot /* MDIO */ 147f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0) /* mdio_data.mdio_data */ 148f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0) /* mdio_clk.mdio_clk */ 149f126890aSEmmanuel Vadot >; 150f126890aSEmmanuel Vadot }; 151f126890aSEmmanuel Vadot 152f126890aSEmmanuel Vadot davinci_mdio_sleep: davinci-mdio-sleep-pins { 153f126890aSEmmanuel Vadot pinctrl-single,pins = < 154f126890aSEmmanuel Vadot /* MDIO reset value */ 155f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLDOWN, MUX_MODE7) 156f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MDC, PIN_INPUT_PULLDOWN, MUX_MODE7) 157f126890aSEmmanuel Vadot >; 158f126890aSEmmanuel Vadot }; 159f126890aSEmmanuel Vadot 160f126890aSEmmanuel Vadot nandflash_pins_s0: nandflash-s0-pins { 161f126890aSEmmanuel Vadot pinctrl-single,pins = < 162f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */ 163f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */ 164f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */ 165f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */ 166f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */ 167f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */ 168f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */ 169f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */ 170f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */ 171f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLUP, MUX_MODE7) /* gpmc_wpn.gpio0_31 */ 172f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT, MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */ 173f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_OUTPUT, MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */ 174f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_OEN_REN, PIN_OUTPUT, MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */ 175f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_WEN, PIN_OUTPUT, MUX_MODE0) /* gpmc_wen.gpmc_wen */ 176f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_BEN0_CLE, PIN_OUTPUT, MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */ 177f126890aSEmmanuel Vadot >; 178f126890aSEmmanuel Vadot }; 179f126890aSEmmanuel Vadot}; 180f126890aSEmmanuel Vadot 181f126890aSEmmanuel Vadot&elm { 182f126890aSEmmanuel Vadot status = "okay"; 183f126890aSEmmanuel Vadot}; 184f126890aSEmmanuel Vadot 185f126890aSEmmanuel Vadot&gpmc { 186f126890aSEmmanuel Vadot pinctrl-names = "default"; 187f126890aSEmmanuel Vadot pinctrl-0 = <&nandflash_pins_s0>; 188f126890aSEmmanuel Vadot ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */ 189f126890aSEmmanuel Vadot status = "okay"; 190f126890aSEmmanuel Vadot 191f126890aSEmmanuel Vadot nand@0,0 { 192f126890aSEmmanuel Vadot compatible = "ti,omap2-nand"; 193f126890aSEmmanuel Vadot reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 194f126890aSEmmanuel Vadot interrupt-parent = <&gpmc>; 195f126890aSEmmanuel Vadot interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 196f126890aSEmmanuel Vadot <1 IRQ_TYPE_NONE>; /* termcount */ 197f126890aSEmmanuel Vadot rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ 198f126890aSEmmanuel Vadot nand-bus-width = <8>; 199f126890aSEmmanuel Vadot ti,nand-ecc-opt = "bch8"; 200f126890aSEmmanuel Vadot ti,nand-xfer-type = "prefetch-dma"; 201f126890aSEmmanuel Vadot 202f126890aSEmmanuel Vadot gpmc,device-nand = "true"; 203f126890aSEmmanuel Vadot gpmc,device-width = <1>; 204f126890aSEmmanuel Vadot gpmc,sync-clk-ps = <0>; 205f126890aSEmmanuel Vadot gpmc,cs-on-ns = <0>; 206f126890aSEmmanuel Vadot gpmc,cs-rd-off-ns = <44>; 207f126890aSEmmanuel Vadot gpmc,cs-wr-off-ns = <44>; 208f126890aSEmmanuel Vadot gpmc,adv-on-ns = <6>; 209f126890aSEmmanuel Vadot gpmc,adv-rd-off-ns = <34>; 210f126890aSEmmanuel Vadot gpmc,adv-wr-off-ns = <44>; 211f126890aSEmmanuel Vadot gpmc,we-on-ns = <0>; 212f126890aSEmmanuel Vadot gpmc,we-off-ns = <40>; 213f126890aSEmmanuel Vadot gpmc,oe-on-ns = <0>; 214f126890aSEmmanuel Vadot gpmc,oe-off-ns = <54>; 215f126890aSEmmanuel Vadot gpmc,access-ns = <64>; 216f126890aSEmmanuel Vadot gpmc,rd-cycle-ns = <82>; 217f126890aSEmmanuel Vadot gpmc,wr-cycle-ns = <82>; 218f126890aSEmmanuel Vadot gpmc,bus-turnaround-ns = <0>; 219f126890aSEmmanuel Vadot gpmc,cycle2cycle-delay-ns = <0>; 220f126890aSEmmanuel Vadot gpmc,clk-activation-ns = <0>; 221f126890aSEmmanuel Vadot gpmc,wr-access-ns = <40>; 222f126890aSEmmanuel Vadot gpmc,wr-data-mux-bus-ns = <0>; 223f126890aSEmmanuel Vadot 224f126890aSEmmanuel Vadot #address-cells = <1>; 225f126890aSEmmanuel Vadot #size-cells = <1>; 226f126890aSEmmanuel Vadot ti,elm-id = <&elm>; 227f126890aSEmmanuel Vadot }; 228f126890aSEmmanuel Vadot}; 229f126890aSEmmanuel Vadot 230f126890aSEmmanuel Vadot&uart0 { 231f126890aSEmmanuel Vadot pinctrl-names = "default"; 232f126890aSEmmanuel Vadot pinctrl-0 = <&uart0_pins>; 233f126890aSEmmanuel Vadot 234f126890aSEmmanuel Vadot status = "okay"; 235f126890aSEmmanuel Vadot}; 236f126890aSEmmanuel Vadot 237f126890aSEmmanuel Vadot&i2c1 { 238f126890aSEmmanuel Vadot pinctrl-names = "default"; 239f126890aSEmmanuel Vadot pinctrl-0 = <&i2c1_pins>; 240f126890aSEmmanuel Vadot 241f126890aSEmmanuel Vadot status = "okay"; 242f126890aSEmmanuel Vadot clock-frequency = <400000>; 243f126890aSEmmanuel Vadot 244f126890aSEmmanuel Vadot tps: tps@2d { 245f126890aSEmmanuel Vadot reg = <0x2d>; 246f126890aSEmmanuel Vadot gpio-controller; 247f126890aSEmmanuel Vadot #gpio-cells = <2>; 248f126890aSEmmanuel Vadot interrupt-parent = <&gpio1>; 249f126890aSEmmanuel Vadot interrupts = <28 IRQ_TYPE_EDGE_RISING>; 250f126890aSEmmanuel Vadot pinctrl-names = "default"; 251f126890aSEmmanuel Vadot pinctrl-0 = <&tps65910_pins>; 252f126890aSEmmanuel Vadot }; 253f126890aSEmmanuel Vadot 254f126890aSEmmanuel Vadot at24@50 { 255f126890aSEmmanuel Vadot compatible = "atmel,24c02"; 256f126890aSEmmanuel Vadot pagesize = <8>; 257f126890aSEmmanuel Vadot reg = <0x50>; 258f126890aSEmmanuel Vadot }; 259f126890aSEmmanuel Vadot}; 260f126890aSEmmanuel Vadot 261f126890aSEmmanuel Vadot#include "../../tps65910.dtsi" 262f126890aSEmmanuel Vadot 263f126890aSEmmanuel Vadot&tps { 264f126890aSEmmanuel Vadot vcc1-supply = <&vbat>; 265f126890aSEmmanuel Vadot vcc2-supply = <&vbat>; 266f126890aSEmmanuel Vadot vcc3-supply = <&vbat>; 267f126890aSEmmanuel Vadot vcc4-supply = <&vbat>; 268f126890aSEmmanuel Vadot vcc5-supply = <&vbat>; 269f126890aSEmmanuel Vadot vcc6-supply = <&vbat>; 270f126890aSEmmanuel Vadot vcc7-supply = <&vbat>; 271f126890aSEmmanuel Vadot vccio-supply = <&vbat>; 272f126890aSEmmanuel Vadot 273f126890aSEmmanuel Vadot ti,en-ck32k-xtal = <1>; 274f126890aSEmmanuel Vadot 275f126890aSEmmanuel Vadot regulators { 276f126890aSEmmanuel Vadot vrtc_reg: regulator@0 { 277f126890aSEmmanuel Vadot regulator-always-on; 278f126890aSEmmanuel Vadot }; 279f126890aSEmmanuel Vadot 280f126890aSEmmanuel Vadot vio_reg: regulator@1 { 281f126890aSEmmanuel Vadot regulator-always-on; 282f126890aSEmmanuel Vadot }; 283f126890aSEmmanuel Vadot 284f126890aSEmmanuel Vadot vdd1_reg: regulator@2 { 285f126890aSEmmanuel Vadot /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ 286f126890aSEmmanuel Vadot regulator-name = "vdd_mpu"; 287f126890aSEmmanuel Vadot regulator-min-microvolt = <912500>; 288f126890aSEmmanuel Vadot regulator-max-microvolt = <1351500>; 289f126890aSEmmanuel Vadot regulator-boot-on; 290f126890aSEmmanuel Vadot regulator-always-on; 291f126890aSEmmanuel Vadot }; 292f126890aSEmmanuel Vadot 293f126890aSEmmanuel Vadot vdd2_reg: regulator@3 { 294f126890aSEmmanuel Vadot /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ 295f126890aSEmmanuel Vadot regulator-name = "vdd_core"; 296f126890aSEmmanuel Vadot regulator-min-microvolt = <912500>; 297f126890aSEmmanuel Vadot regulator-max-microvolt = <1150000>; 298f126890aSEmmanuel Vadot regulator-boot-on; 299f126890aSEmmanuel Vadot regulator-always-on; 300f126890aSEmmanuel Vadot }; 301f126890aSEmmanuel Vadot 302f126890aSEmmanuel Vadot vdd3_reg: regulator@4 { 303f126890aSEmmanuel Vadot regulator-always-on; 304f126890aSEmmanuel Vadot }; 305f126890aSEmmanuel Vadot 306f126890aSEmmanuel Vadot vdig1_reg: regulator@5 { 307f126890aSEmmanuel Vadot regulator-always-on; 308f126890aSEmmanuel Vadot }; 309f126890aSEmmanuel Vadot 310f126890aSEmmanuel Vadot vdig2_reg: regulator@6 { 311f126890aSEmmanuel Vadot regulator-always-on; 312f126890aSEmmanuel Vadot }; 313f126890aSEmmanuel Vadot 314f126890aSEmmanuel Vadot vpll_reg: regulator@7 { 315f126890aSEmmanuel Vadot regulator-always-on; 316f126890aSEmmanuel Vadot }; 317f126890aSEmmanuel Vadot 318f126890aSEmmanuel Vadot vdac_reg: regulator@8 { 319f126890aSEmmanuel Vadot regulator-always-on; 320f126890aSEmmanuel Vadot }; 321f126890aSEmmanuel Vadot 322f126890aSEmmanuel Vadot vaux1_reg: regulator@9 { 323f126890aSEmmanuel Vadot regulator-always-on; 324f126890aSEmmanuel Vadot }; 325f126890aSEmmanuel Vadot 326f126890aSEmmanuel Vadot vaux2_reg: regulator@10 { 327f126890aSEmmanuel Vadot regulator-always-on; 328f126890aSEmmanuel Vadot }; 329f126890aSEmmanuel Vadot 330f126890aSEmmanuel Vadot vaux33_reg: regulator@11 { 331f126890aSEmmanuel Vadot regulator-always-on; 332f126890aSEmmanuel Vadot }; 333f126890aSEmmanuel Vadot 334f126890aSEmmanuel Vadot vmmc_reg: regulator@12 { 335f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 336f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 337f126890aSEmmanuel Vadot regulator-always-on; 338f126890aSEmmanuel Vadot }; 339f126890aSEmmanuel Vadot }; 340f126890aSEmmanuel Vadot}; 341f126890aSEmmanuel Vadot 342f126890aSEmmanuel Vadot&mac_sw { 343f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 344f126890aSEmmanuel Vadot pinctrl-0 = <&cpsw_default>; 345f126890aSEmmanuel Vadot pinctrl-1 = <&cpsw_sleep>; 346f126890aSEmmanuel Vadot 347f126890aSEmmanuel Vadot status = "okay"; 348f126890aSEmmanuel Vadot}; 349f126890aSEmmanuel Vadot 350f126890aSEmmanuel Vadot&davinci_mdio_sw { 351f126890aSEmmanuel Vadot status = "okay"; 352f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 353f126890aSEmmanuel Vadot pinctrl-0 = <&davinci_mdio_default>; 354f126890aSEmmanuel Vadot pinctrl-1 = <&davinci_mdio_sleep>; 355f126890aSEmmanuel Vadot 356f126890aSEmmanuel Vadot phy1: ethernet-phy@1 { 357f126890aSEmmanuel Vadot reg = <7>; 358f126890aSEmmanuel Vadot eee-broken-100tx; 359f126890aSEmmanuel Vadot eee-broken-1000t; 360f126890aSEmmanuel Vadot }; 361f126890aSEmmanuel Vadot}; 362f126890aSEmmanuel Vadot 363f126890aSEmmanuel Vadot&mmc1 { 364f126890aSEmmanuel Vadot vmmc-supply = <&vmmc_reg>; 365f126890aSEmmanuel Vadot status = "okay"; 366f126890aSEmmanuel Vadot}; 367f126890aSEmmanuel Vadot 368f126890aSEmmanuel Vadot&mmc2 { 369f126890aSEmmanuel Vadot status = "okay"; 370f126890aSEmmanuel Vadot vmmc-supply = <&wl12xx_vmmc>; 371f126890aSEmmanuel Vadot non-removable; 372f126890aSEmmanuel Vadot bus-width = <4>; 373f126890aSEmmanuel Vadot cap-power-off-card; 374f126890aSEmmanuel Vadot pinctrl-names = "default"; 375f126890aSEmmanuel Vadot pinctrl-0 = <&mmc2_pins>; 376f126890aSEmmanuel Vadot 377f126890aSEmmanuel Vadot #address-cells = <1>; 378f126890aSEmmanuel Vadot #size-cells = <0>; 379f126890aSEmmanuel Vadot wlcore: wlcore@2 { 380f126890aSEmmanuel Vadot compatible = "ti,wl1835"; 381f126890aSEmmanuel Vadot reg = <2>; 382f126890aSEmmanuel Vadot interrupt-parent = <&gpio3>; 383f126890aSEmmanuel Vadot interrupts = <7 IRQ_TYPE_EDGE_RISING>; 384f126890aSEmmanuel Vadot }; 385f126890aSEmmanuel Vadot}; 386f126890aSEmmanuel Vadot 387f126890aSEmmanuel Vadot&sham { 388f126890aSEmmanuel Vadot status = "okay"; 389f126890aSEmmanuel Vadot}; 390f126890aSEmmanuel Vadot 391f126890aSEmmanuel Vadot&aes { 392f126890aSEmmanuel Vadot status = "okay"; 393f126890aSEmmanuel Vadot}; 394f126890aSEmmanuel Vadot 395f126890aSEmmanuel Vadot&gpio0_target { 396f126890aSEmmanuel Vadot ti,no-reset-on-init; 397f126890aSEmmanuel Vadot}; 398f126890aSEmmanuel Vadot 399f126890aSEmmanuel Vadot&gpio3_target { 400f126890aSEmmanuel Vadot ti,no-reset-on-init; 401f126890aSEmmanuel Vadot}; 402