/* * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /* AM437x GP EVM */ /dts-v1/; #include "am4372.dtsi" #include #include #include / { model = "TI AM437x GP EVM"; compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; aliases { serial5 = &uart5; }; evm_v3_3d: fixedregulator-v3_3d { compatible = "regulator-fixed"; regulator-name = "evm_v3_3d"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; enable-active-high; }; vmmcwl_fixed: fixedregulator-mmcwl { compatible = "regulator-fixed"; regulator-name = "vmmcwl_fixed"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; gpio = <&gpio1 20 GPIO_ACTIVE_HIGH>; enable-active-high; }; /* fixed 12MHz oscillator */ refclk: oscillator { #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <12000000>; }; /* fixed 32k external oscillator clock */ clk_32k_rtc: clk_32k_rtc { #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <32768>; }; sound0: sound@0 { compatible = "simple-audio-card"; simple-audio-card,name = "AM437x-GP-EVM"; simple-audio-card,widgets = "Headphone", "Headphone Jack", "Line", "Line In"; simple-audio-card,routing = "Headphone Jack", "HPLOUT", "Headphone Jack", "HPROUT", "LINE1L", "Line In", "LINE1R", "Line In"; simple-audio-card,format = "dsp_b"; simple-audio-card,bitclock-master = <&sound0_master>; simple-audio-card,frame-master = <&sound0_master>; simple-audio-card,bitclock-inversion; simple-audio-card,cpu { sound-dai = <&mcasp1>; system-clock-frequency = <12000000>; }; sound0_master: simple-audio-card,codec { sound-dai = <&tlv320aic3106>; system-clock-frequency = <12000000>; }; }; audio_mstrclk: mclk_osc { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <12000000>; }; }; &am43xx_pinmux { pinctrl-names = "default", "sleep"; pinctrl-0 = <&wlan_pins_default &ddr3_vtt_toggle_default &unused_pins &debugss_pins>; pinctrl-1 = <&wlan_pins_sleep>; ddr3_vtt_toggle_default: ddr_vtt_toggle_default { pinctrl-single,pins = < 0x25C (DS0_PULL_UP_DOWN_EN | PIN_OUTPUT_PULLUP | DS0_FORCE_OFF_MODE | MUX_MODE7) /* spi0_cs0.gpio5_7 */ >; }; i2c0_pins: i2c0_pins { pinctrl-single,pins = < 0x188 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */ 0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */ >; }; i2c1_pins_default: i2c1_pins_default { pinctrl-single,pins = < 0x15c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_cs0.i2c1_scl */ 0x158 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_d1.i2c1_sda */ >; }; i2c1_pins_sleep: i2c1_pins_sleep { pinctrl-single,pins = < 0x15c (PIN_INPUT_PULLUP | MUX_MODE7) 0x158 (PIN_INPUT_PULLUP | MUX_MODE7) >; }; mmc1_pins: pinmux_mmc1_pins { pinctrl-single,pins = < 0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */ 0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */ 0x0f0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */ 0x0f4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */ 0x0f8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */ 0x0fc (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */ 0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */ >; }; mmc1_sleep_pins: pinmux_mmc1_sleep_pins { pinctrl-single,pins = < 0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x104 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) 0x0f0 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) 0x0f4 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) 0x0f8 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) 0x0fc (PIN_INPUT | PULL_DISABLE | MUX_MODE7) 0x160 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) >; }; pixcir_ts_pins_default: pixcir_ts_pins_default { pinctrl-single,pins = < 0x264 (PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_d0.gpio3_22 */ >; }; pixcir_ts_pins_sleep: pixcir_ts_pins_sleep { pinctrl-single,pins = < 0x264 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* spi2_d0.gpio3_22 */ >; }; cpsw_default: cpsw_default { pinctrl-single,pins = < /* Slave 1*/ /* 0x108 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) */ /* (D16) mii1_col.gmii1_col */ /* 0x10c ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) */ /* (B14) mii1_crs.gmii1_crs */ 0x110 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (B13) mii1_rx_er.gmii1_rxer */ 0x114 ( PIN_OUTPUT_PULLDOWN| MUX_MODE0) /* (A13) mii1_tx_en.gmii1_txen */ 0x118 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (A15) mii1_rx_dv.gmii1_rxdv */ 0x12c ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (D14) mii1_tx_clk.gmii1_txclk */ 0x130 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (D13) mii1_rx_clk.gmii1_rxclk */ 0x128 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* (B15) mii1_txd0.gmii1_txd0 */ 0x124 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* (A14) mii1_txd1.gmii1_txd1 */ 0x120 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* (C13) mii1_txd2.gmii1_txd2 */ 0x11c ( PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* (C16) mii1_txd3.gmii1_txd3 */ 0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (F17) mii1_rxd0.gmii1_rxd0 */ 0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (B16) mii1_rxd1.gmii1_rxd1 */ 0x138 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (E16) mii1_rxd2.gmii1_rxd2 */ 0x134 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (C14) mii1 */ /* Slave 2 */ /* 0x78 ( PIN_INPUT_PULLUP | MUX_MODE1 ) */ /* (A3) gpmc_be1n.gmii2_col */ /* 0x84 ( PIN_INPUT_PULLUP | MUX_MODE8 ) */ /* (F10) gpmc_csn2.gmii2_crs */ 0x74 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (B3) gpmc_wpn.gmii2_rxer */ 0x40 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* (C3) gpmc_a0.gmii2_txen */ 0x44 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (C5) gpmc_a1.gmii2_rxdv */ 0x58 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (E8) gpmc_a6.gmii2_txclk */ 0x5c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (F6) gpmc_a7.gmii2_rxclk */ 0x54 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* (E7) gpmc_a5.gmii2_txd0 */ 0x50 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* (D7) gpmc_a4.gmii2_txd1 */ 0x4c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* (A4) gpmc_a3.gmii2_txd2 */ 0x48 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* (C6) gpmc_a2.gmii2_txd3 */ 0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (D8) gpmc_a11.gmii2_rxd0 */ 0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (G8) gpmc_a10.gmii2_rxd1 */ 0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (B4) gpmc_a9.gmii2_rxd2 */ 0x60 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (F7) gpmc_a8.gmii2_rxd3 */ >; }; davinci_mdio_default: davinci_mdio_default { pinctrl-single,pins = < /* MDIO */ 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */ 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */ >; }; davinci_mdio_sleep: davinci_mdio_sleep { pinctrl-single,pins = < /* MDIO reset value */ 0x148 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) 0x14c (PIN_INPUT | PULL_DISABLE | MUX_MODE7) >; }; nand_flash_x8_default: nand_flash_x8_default { pinctrl-single,pins = < 0x0 (PIN_INPUT | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */ 0x4 (PIN_INPUT | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */ 0x8 (PIN_INPUT | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */ 0xc (PIN_INPUT | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */ 0x10 (PIN_INPUT | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */ 0x14 (PIN_INPUT | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */ 0x18 (PIN_INPUT | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */ 0x1c (PIN_INPUT | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */ 0x70 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */ /* 0x74 (PIN_OUTPUT_PULLUP | MUX_MODE7) */ /* gpmc_wpn.gpmc_wpn */ 0x7c (PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */ 0x90 (PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */ 0x94 (PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */ 0x98 (PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */ 0x9c (PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */ >; }; nand_flash_x8_sleep: nand_flash_x8_sleep { pinctrl-single,pins = < 0x0 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad0.gpmc_ad0 */ 0x4 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad1.gpmc_ad1 */ 0x8 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad2.gpmc_ad2 */ 0xc (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad3.gpmc_ad3 */ 0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpmc_ad4 */ 0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpmc_ad5 */ 0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpmc_ad6 */ 0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpmc_ad7 */ 0x70 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* gpmc_wait0.gpmc_wait0 */ /* 0x74 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* gpmc_wpn.gpmc_wpn */ 0x7c (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* gpmc_csn0.gpmc_csn0 */ 0x90 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* gpmc_advn_ale.gpmc_advn_ale */ 0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_oen_ren.gpmc_oen_ren */ 0x98 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_wen.gpmc_wen */ 0x9c (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* gpmc_be0n_cle.gpmc_be0n_cle */ >; }; dcan1_default: dcan1_default_pins { pinctrl-single,pins = < 0x180 (PIN_OUTPUT | MUX_MODE2) /* uart1_rxd.d_can1_tx */ 0x184 (PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_txd.d_can1_rx */ >; }; dcan1_sleep: dcan1_sleep_pins { pinctrl-single,pins = < 0x180 (PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_rxd.gpio0_14 */ 0x184 (PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_txd.gpio0_15 */ >; }; wlan_pins_default: pinmux_wlan_pins_default { pinctrl-single,pins = < /* 0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) */ /* gpmc_a4.gpio1_20 WL_EN */ /* 0x5c (PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7) */ /* gpmc_a7.gpio1_23 WL_IRQ*/ /* 0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) */ /* gpmc_a0.gpio1_16 BT_EN*/ >; }; wlan_pins_sleep: pinmux_wlan_pins_sleep { pinctrl-single,pins = < /* 0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) */ /* gpmc_a4.gpio1_20 WL_EN */ /* 0x5c (PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7) */ /* gpmc_a7.gpio1_23 WL_IRQ*/ /* 0x40 (PIN_OUTPUT_PULLUP | MUX_MODE7) */ /* gpmc_a0.gpio1_16 BT_EN*/ >; }; uart1_pins: uart1_pins { pinctrl-single,pins = < 0x1e8 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (AB20) cam1_data0.uart1_rxd */ 0x1ec ( PIN_OUTPUT_PULLDOWN| MUX_MODE1 ) /* (AC21) cam1_data1.uart1_txd */ 0x1f0 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (AD21) cam1_data2.uart1_ctsn */ 0x1f4 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (AE22) cam1_data3.uart1_rtsn */ 0x200 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (AD23) cam1_data6.uart1_dcdn */ 0x1fc ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (AE23) cam1_data5.uart1_dsrn */ 0x204 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (AE24) cam1_data7.uart1_dtrn */ 0x1f8 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (AD22) cam1_data4.uart1_rin */ >; }; uart2_pins: uart2_pins { pinctrl-single,pins = < 0x150 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (P23) spi0_sclk.uart2_rxd */ 0x154 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T22) spi0_d0.uart2_txd */ 0xc0 ( PIN_INPUT_PULLUP | MUX_MODE6 ) /* (A19) dss_data8.uart2_ctsn */ 0xc4 ( PIN_OUTPUT_PULLDOWN | MUX_MODE6 ) /* (B19) dss_data9.uart2_rtsn */ >; }; uart3_pins: uart3_pins { pinctrl-single,pins = < 0x228 (PIN_INPUT | MUX_MODE0) /* uart3_rxd.uart3_rxd */ 0x22c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart3_txd.uart3_txd */ 0x230 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_ctsn.uart3_ctsn */ 0x234 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart3_rtsn.uart3_rtsn */ >; }; uart5_pins: uart5_pins { pinctrl-single,pins = < 0xd8 ( PIN_INPUT_PULLUP | MUX_MODE4 ) /* (C17) dss_data14.uart5_rxd */ 0x144 (PIN_OUTPUT_PULLDOWN | MUX_MODE3 ) /* (A16) rmii1_ref_clk.uart5_txd */ >; }; mcasp1_pins: mcasp1_pins { pinctrl-single,pins = < /* 0x108 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) *//* mii1_col.mcasp1_axr2 */ /* 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) *//* mii1_crs.mcasp1_aclkx */ /* 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE4) *//* mii1_rxerr.mcasp1_fsx */ /* 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4) */ /* rmii1_ref_clk.mcasp1_axr3 */ >; }; mcasp1_sleep_pins: mcasp1_sleep_pins { pinctrl-single,pins = < /* 0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ >; }; gpio0_pins: gpio0_pins { pinctrl-single,pins = < 0x26c (PIN_OUTPUT | MUX_MODE9) /* spi2_cs0.gpio0_23 SEL_eMMCorNANDn */ >; }; emmc_pins_default: emmc_pins_default { pinctrl-single,pins = < 0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */ 0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */ 0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */ 0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */ 0x10 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */ 0x14 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */ 0x18 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */ 0x1c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */ 0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */ /* 0x84 (PIN_INPUT_PULLUP | MUX_MODE2) */ /* gpmc_csn2.mmc1_cmd */ >; }; emmc_pins_sleep: emmc_pins_sleep { pinctrl-single,pins = < 0x00 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad0.gpio1_0 */ 0x04 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad1.gpio1_1 */ 0x08 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad2.gpio1_2 */ 0x0c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad3.gpio1_3 */ 0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */ 0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */ 0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */ 0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */ 0x80 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.gpio1_30 */ /* 0x84 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* gpmc_csn2.gpio1_31 */ >; }; uart0_pins_default: uart0_pins_default { pinctrl-single,pins = < 0x168 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE0) 0x16C (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE0) 0x170 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_rxd.uart0_rxd */ 0x174 (PIN_INPUT | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_txd.uart0_txd */ >; }; uart0_pins_sleep: uart0_pins_sleep { pinctrl-single,pins = < 0x168 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) 0x16C (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) 0x170 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_rxd.uart0_rxd */ 0x174 (PIN_INPUT_PULLDOWN | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_txd.uart0_txd */ >; }; unused_pins: unused_pins { pinctrl-single,pins = < /* 0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* 0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* 0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* 0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* 0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* 0x6C (PIN_INPUT_PULLDOWN | MUX_MODE7) */ 0x80 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.mmc1_clk */ /* 0x84 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) */ /* gpmc_csn2.mmc1_cmd */ /* 0x150 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ 0x190 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x194 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x198 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x19C (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x23C (PIN_INPUT | PULL_DISABLE | MUX_MODE7) 0x240 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x244 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x248 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x24C (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x250 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x254 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) 0x258 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x260 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) 0x268 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x270 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x278 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x27C (PIN_INPUT | PULL_DISABLE) 0x2C8 (PIN_INPUT_PULLDOWN) 0x2D4 (PIN_INPUT_PULLDOWN) 0x2D8 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x2DC (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x2E0 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x2E4 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x2E8 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x2EC (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x2F0 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x2F4 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x2F8 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x2FC (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x300 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x304 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x308 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x30C (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x310 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x314 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x318 (PIN_INPUT_PULLDOWN | MUX_MODE7) >; }; debugss_pins: pinmux_debugss_pins { pinctrl-single,pins = < 0x290 (PIN_INPUT_PULLDOWN) 0x294 (PIN_INPUT_PULLDOWN) 0x298 (PIN_INPUT_PULLDOWN) 0x29C (PIN_INPUT_PULLDOWN) 0x2A0 (PIN_INPUT_PULLDOWN) 0x2A4 (PIN_INPUT_PULLDOWN) 0x2A8 (PIN_INPUT_PULLDOWN) >; }; }; &i2c0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins>; clock-frequency = <100000>; tps65218: tps65218@24 { reg = <0x24>; compatible = "ti,tps65218"; interrupts = ; /* NMIn */ interrupt-controller; #interrupt-cells = <2>; dcdc1: regulator-dcdc1 { compatible = "ti,tps65218-dcdc1"; regulator-name = "vdd_core"; regulator-min-microvolt = <912000>; regulator-max-microvolt = <1144000>; regulator-boot-on; regulator-always-on; }; dcdc2: regulator-dcdc2 { compatible = "ti,tps65218-dcdc2"; regulator-name = "vdd_mpu"; regulator-min-microvolt = <912000>; regulator-max-microvolt = <1378000>; regulator-boot-on; regulator-always-on; }; dcdc3: regulator-dcdc3 { compatible = "ti,tps65218-dcdc3"; regulator-name = "vdcdc3"; regulator-min-microvolt = <1500000>; regulator-max-microvolt = <1500000>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-on-in-suspend; }; regulator-state-disk { regulator-off-in-suspend; }; }; dcdc5: regulator-dcdc5 { compatible = "ti,tps65218-dcdc5"; regulator-name = "v1_0bat"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-on-in-suspend; }; }; dcdc6: regulator-dcdc6 { compatible = "ti,tps65218-dcdc6"; regulator-name = "v1_8bat"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-on-in-suspend; }; }; ldo1: regulator-ldo1 { compatible = "ti,tps65218-ldo1"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; }; }; }; &i2c1 { status = "okay"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c1_pins_default>; pinctrl-1 = <&i2c1_pins_sleep>; pixcir_ts@5c { compatible = "pixcir,pixcir_tangoc"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&pixcir_ts_pins_default>; pinctrl-1 = <&pixcir_ts_pins_sleep>; reg = <0x5c>; interrupt-parent = <&gpio3>; interrupts = <22 0>; attb-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; /* * 0x264 represents the offset of padconf register of * gpio3_22 from am43xx_pinmux base. */ interrupts-extended = <&gpio3 22 IRQ_TYPE_NONE>, <&am43xx_pinmux 0x264>; interrupt-names = "tsc", "wakeup"; touchscreen-size-x = <1024>; touchscreen-size-y = <600>; wakeup-source; }; tlv320aic3106: tlv320aic3106@1b { #sound-dai-cells = <0>; compatible = "ti,tlv320aic3106"; reg = <0x1b>; status = "okay"; /* Regulators */ IOVDD-supply = <&evm_v3_3d>; /* V3_3D -> EN: V1_8D -> VBAT */ AVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */ DRVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */ DVDD-supply = <&ldo1>; /* V1_8D -> LDO1 */ }; }; &epwmss0 { status = "okay"; }; &tscadc { status = "okay"; adc { ti,adc-channels = <0 1 2 3 4 5 6 7>; }; }; &gpio0 { pinctrl-names = "default"; pinctrl-0 = <&gpio0_pins>; status = "okay"; p23 { gpio-hog; gpios = <23 GPIO_ACTIVE_HIGH>; /* SelEMMCorNAND selects between eMMC and NAND: * Low: NAND * High: eMMC * When changing this line make sure the newly * selected device node is enabled and the previously * selected device node is disabled. */ output-low; line-name = "SelEMMCorNAND"; }; }; &gpio1 { status = "okay"; }; &gpio3 { status = "okay"; }; &gpio4 { status = "okay"; }; &mmc1 { status = "okay"; vmmc-supply = <&evm_v3_3d>; bus-width = <4>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&mmc1_pins>; pinctrl-1 = <&mmc1_sleep_pins>; cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; }; /* eMMC sits on mmc2 */ &mmc2 { /* * When enabling eMMC, disable GPMC/NAND and set * SelEMMCorNAND to output-high */ status = "disabled"; vmmc-supply = <&evm_v3_3d>; bus-width = <8>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&emmc_pins_default>; pinctrl-1 = <&emmc_pins_sleep>; ti,non-removable; }; &uart1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&uart1_pins>; }; &uart2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&uart2_pins>; }; &uart3 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&uart3_pins>; }; &uart5 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&uart5_pins>; }; &usb2_phy1 { status = "okay"; }; &usb1 { dr_mode = "otg"; status = "okay"; }; &usb2_phy2 { status = "okay"; }; &usb2 { dr_mode = "host"; status = "okay"; }; &mac { slaves = <1>; /* pinctrl-names = "default", "sleep"; */ pinctrl-names = "default"; pinctrl-0 = <&cpsw_default>; /* pinctrl-1 = <&cpsw_sleep>; */ status = "okay"; }; &davinci_mdio { pinctrl-names = "default", "sleep"; pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; }; &cpsw_emac0 { phy_id = <&davinci_mdio>, <3>; phy-mode = "mii"; }; &elm { status = "okay"; }; &gpmc { /* * When enabling GPMC, disable eMMC and set * SelEMMCorNAND to output-low */ status = "okay"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&nand_flash_x8_default>; pinctrl-1 = <&nand_flash_x8_sleep>; ranges = <0 0 0x08000000 0x01000000>; /* CS0 space. Min partition = 16MB */ nand@0,0 { compatible = "ti,omap2-nand"; reg = <0 0 4>; /* device IO registers */ interrupt-parent = <&gpmc>; interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ <1 IRQ_TYPE_NONE>; /* termcount */ rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ ti,nand-ecc-opt = "bch16"; ti,elm-id = <&elm>; nand-bus-width = <8>; gpmc,device-width = <1>; gpmc,sync-clk-ps = <0>; gpmc,cs-on-ns = <0>; gpmc,cs-rd-off-ns = <40>; gpmc,cs-wr-off-ns = <40>; gpmc,adv-on-ns = <0>; gpmc,adv-rd-off-ns = <25>; gpmc,adv-wr-off-ns = <25>; gpmc,we-on-ns = <0>; gpmc,we-off-ns = <20>; gpmc,oe-on-ns = <3>; gpmc,oe-off-ns = <30>; gpmc,access-ns = <30>; gpmc,rd-cycle-ns = <40>; gpmc,wr-cycle-ns = <40>; gpmc,bus-turnaround-ns = <0>; gpmc,cycle2cycle-delay-ns = <0>; gpmc,clk-activation-ns = <0>; gpmc,wr-access-ns = <40>; gpmc,wr-data-mux-bus-ns = <0>; /* MTD partition table */ /* All SPL-* partitions are sized to minimal length * which can be independently programmable. For * NAND flash this is equal to size of erase-block */ #address-cells = <1>; #size-cells = <1>; partition@0 { label = "NAND.SPL"; reg = <0x00000000 0x00040000>; }; partition@1 { label = "NAND.SPL.backup1"; reg = <0x00040000 0x00040000>; }; partition@2 { label = "NAND.SPL.backup2"; reg = <0x00080000 0x00040000>; }; partition@3 { label = "NAND.SPL.backup3"; reg = <0x000c0000 0x00040000>; }; partition@4 { label = "NAND.u-boot-spl-os"; reg = <0x00100000 0x00080000>; }; partition@5 { label = "NAND.u-boot"; reg = <0x00180000 0x00100000>; }; partition@6 { label = "NAND.u-boot-env"; reg = <0x00280000 0x00040000>; }; partition@7 { label = "NAND.u-boot-env.backup1"; reg = <0x002c0000 0x00040000>; }; partition@8 { label = "NAND.kernel"; reg = <0x00300000 0x00700000>; }; partition@9 { label = "NAND.file-system"; reg = <0x00a00000 0x1f600000>; }; }; }; &uart0 { status = "okay"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart0_pins_default>; pinctrl-1 = <&uart0_pins_sleep>; }; &dcan1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&dcan1_default>; pinctrl-1 = <&dcan1_sleep>; status = "okay"; }; &mcasp1 { #sound-dai-cells = <0>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&mcasp1_pins>; pinctrl-1 = <&mcasp1_sleep_pins>; status = "okay"; op-mode = <0>; /* MCASP_IIS_MODE */ tdm-slots = <2>; /* 4 serializers */ serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 0 0 1 2 >; tx-num-evt = <32>; rx-num-evt = <32>; }; &rtc { clocks = <&clk_32k_rtc>, <&clk_32768_ck>; clock-names = "ext-clk", "int-clk"; system-power-controller; status = "okay"; }; &wkup_m3_ipc { ti,set-io-isolation; ti,scale-data-fw = "am43x-evm-scale-data.bin"; }; &sgx { status = "okay"; }; &cpu { cpu0-supply = <&dcdc2>; };