/* * Copyright (C) 2012 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. */ /* * AM335x Starter Kit * http://www.ti.com/tool/tmdssk3358 */ /dts-v1/; #include "am33xx.dtsi" #include / { model = "TI AM335x EVM-SK"; compatible = "ti,am335x-evmsk", "ti,am33xx"; cpus { cpu@0 { cpu0-supply = <&vdd1_reg>; }; }; memory { device_type = "memory"; reg = <0x80000000 0x10000000>; /* 256 MB */ }; vbat: fixedregulator@0 { compatible = "regulator-fixed"; regulator-name = "vbat"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-boot-on; }; lis3_reg: fixedregulator@1 { compatible = "regulator-fixed"; regulator-name = "lis3_reg"; regulator-boot-on; }; vtt_fixed: fixedregulator@3 { compatible = "regulator-fixed"; regulator-name = "vtt"; regulator-min-microvolt = <1500000>; regulator-max-microvolt = <1500000>; gpio = <&gpio0 7 GPIO_ACTIVE_HIGH>; regulator-always-on; regulator-boot-on; enable-active-high; }; leds { pinctrl-names = "default", "sleep"; pinctrl-0 = <&user_leds_default>; pinctrl-1 = <&user_leds_sleep>; compatible = "gpio-leds"; led@1 { label = "power_led_R"; gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led@2 { label = "power_led_G"; gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led@3 { label = "preset_led_R"; gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led@4 { label = "preset_led_G"; gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led@5 { label = "config_led_R"; gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led@6 { label = "config_led_G"; gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led@7 { label = "status_led_R"; gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led@8 { label = "status_led_G"; gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led@9 { label = "backlight_lcd"; gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>; default-state = "on"; }; }; gpio_buttons: gpio_buttons@0 { compatible = "gpio-keys"; #address-cells = <1>; #size-cells = <0>; switch@1 { label = "key_up"; linux,code = <0x100>; gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; }; switch@2 { label = "key_down"; linux,code = <0x101>; gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>; }; switch@3 { label = "key_left"; linux,code = <0x102>; gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>; gpio-key,wakeup; }; switch@4 { label = "key_right"; linux,code = <0x103>; gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; }; switch@5 { label = "key_ent"; linux,code = <0x104>; gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; }; switch@6 { label = "key_preset"; linux,code = <0x105>; gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>; }; switch@7 { label = "key_status"; linux,code = <0x106>; gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; }; switch@8 { label = "key_setting"; linux,code = <0x107>; gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; }; }; itdb28 { compatible = "ph,ph128160"; status = "okay"; pinctrl-0 = <&lcd_pinctl>; pinctrl-1 = <&lcd_sleep>; rotate = <90>; bgr; buswidth = <8>; rd-gpios = <&gpio2 24 0>; dc-gpios = <&gpio2 22 0>; cs-gpios = <&gpio2 25 0>; wr-gpios = <&gpio2 23 0>; db-gpios = <&gpio2 6 0>, <&gpio2 7 0>, <&gpio2 8 0>, <&gpio2 9 0>, <&gpio2 10 0>, <&gpio2 11 0>, <&gpio2 12 0>, <&gpio2 13 0>; /* LED pin drives backlight directly. Use transistor (50mA) */ /* led-gpios = <&gpio2 4 1>; */ debug = <1>; }; sound { compatible = "ti,da830-evm-audio"; ti,model = "AM335x-EVMSK"; ti,audio-codec = <&tlv320aic3106>; ti,mcasp-controller = <&mcasp1>; ti,codec-clock-rate = <24000000>; ti,audio-routing = "Headphone Jack", "HPL", "Headphone Jack", "HPR", "Speaker", "SPK"; ti,hp-det-gpios = <&gpio3 10 0>; }; }; &am33xx_pinmux { pinctrl-names = "default"; pinctrl-0 = <&gpio_keys_s0 &feton12_pins_default>; lcd_pinctl: lcd_pinctl { pinctrl-single,pins = < 0xa0 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (R1) lcd_data0.gpio2[6] */ 0xa4 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (R2) lcd_data1.gpio2[7] */ 0xa8 ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) /* (R3) lcd_data2.gpio2[8] */ 0xac ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) /* (R4) lcd_data3.gpio2[9] */ 0xb0 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (T1) lcd_data4.gpio2[10] */ 0xb4 ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) /* (T2) lcd_data5.gpio2[11] */ 0xb8 ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) /* (T3) lcd_data6.gpio2[12] */ 0xbc ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) /* (T4) lcd_data7.gpio2[13] */ 0xe0 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (U5) lcd_vsync.gpio2[22] */ 0xe4 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (R5) lcd_hsync.gpio2[23] */ 0xe8 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (V5) lcd_pclk.gpio2[24] */ 0xec ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (R6) lcd_ac_bias_en.gpio2[25] */ >; }; lcd_sleep: lcd_sleep { pinctrl-single,pins = < 0xa0 (PIN_INPUT_PULLDOWN ) /* (R1) lcd_data0.gpio2[6] */ 0xa4 (PIN_INPUT_PULLDOWN ) /* (R2) lcd_data1.gpio2[7] */ 0xa8 (PIN_INPUT_PULLDOWN ) /* (R3) lcd_data2.gpio2[8] */ 0xac (PIN_INPUT_PULLDOWN ) /* (R4) lcd_data3.gpio2[9] */ 0xb0 (PIN_INPUT_PULLDOWN ) /* (T1) lcd_data4.gpio2[10] */ 0xb4 (PIN_INPUT_PULLDOWN ) /* (T2) lcd_data5.gpio2[11] */ 0xb8 (PIN_INPUT_PULLDOWN ) /* (T3) lcd_data6.gpio2[12] */ 0xbc (PIN_INPUT_PULLDOWN ) /* (T4) lcd_data7.gpio2[13] */ 0xe0 (PIN_INPUT_PULLDOWN ) /* (U5) lcd_vsync.gpio2[22] */ 0xe4 (PIN_INPUT_PULLDOWN ) /* (R5) lcd_hsync.gpio2[23] */ 0xe8 (PIN_INPUT_PULLDOWN ) /* (V5) lcd_pclk.gpio2[24] */ 0xec (PIN_INPUT_PULLDOWN ) /* (R6) lcd_ac_bias_en.gpio2[25] */ >; }; usb0_pins_default: usb0_pins_default { pinctrl-single,pins = < 0x21c ( PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (F16) USB0_DRVVBUS.USB0_DRVVBUS */ >; }; user_leds_default: user_leds_default { pinctrl-single,pins = < 0x20 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U10) gpmc_ad8.gpio0[22] */ 0x24 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T10) gpmc_ad9.gpio0[23] */ 0x28 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T11) gpmc_ad10.gpio0[26] */ 0x2c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U12) gpmc_ad11.gpio0[27] */ 0x30 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T12) gpmc_ad12.gpio1[12] */ 0x34 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R12) gpmc_ad13.gpio1[13] */ 0x38 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V13) gpmc_ad14.gpio1[14] */ 0x3c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U13) gpmc_ad15.gpio1[15] */ 0x134 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (L17) gmii1_rxd3.gpio2[18] */ >; }; user_leds_sleep: user_leds_sleep { pinctrl-single,pins = < 0x20 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U10) gpmc_ad8.gpio0[22] */ 0x24 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T10) gpmc_ad9.gpio0[23] */ 0x28 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T11) gpmc_ad10.gpio0[26] */ 0x2c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U12) gpmc_ad11.gpio0[27] */ 0x30 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T12) gpmc_ad12.gpio1[12] */ 0x34 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R12) gpmc_ad13.gpio1[13] */ 0x38 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V13) gpmc_ad14.gpio1[14] */ 0x3c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U13) gpmc_ad15.gpio1[15] */ 0x134 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L17) gmii1_rxd3.gpio2[18] */ >; }; gpio_keys_s0: gpio_keys_s0 { pinctrl-single,pins = < 0x190 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (A13) mcasp0_aclkx.gpio3[14] */ 0x194 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (B13) mcasp0_fsx.gpio3[15] */ 0x198 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (D12) mcasp0_axr0.gpio3[16] */ 0x1a0 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (B12) mcasp0_aclkr.gpio3[18] */ 0x1a4 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (C13) mcasp0_fsr.gpio3[19] */ 0x1a8 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (D13) mcasp0_axr1.gpio3[20] */ 0x1ac ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (A14) mcasp0_ahclkx.gpio3[21] */ 0x138 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (L16) gmii1_rxd2.gpio2[19] */ >; }; i2c1_pins: pinmux_i2c1_pins { pinctrl-single,pins = < 0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_d1.i2c1_sda */ 0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_cs0.i2c1_scl */ >; }; i2c0_pins: pinmux_i2c0_pins { pinctrl-single,pins = < 0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */ 0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */ >; }; uart0_pins: pinmux_uart0_pins { pinctrl-single,pins = < 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */ 0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ >; }; uart2_pins: pinmux_uart2_pins { pinctrl-single,pins = < 0x150 ( PIN_INPUT | MUX_MODE1 ) /* (A17) spi0_sclk.uart2_rxd */ 0x154 ( PIN_OUTPUT | MUX_MODE1 ) /* (B17) spi0_d0.uart2_txd */ >; }; feton12_pins_default: feton12_pins_default { pinctrl-single,pins = < 0x60 ( PIN_INPUT | MUX_MODE7 ) /* (V16) gpmc_a8.gpio1[24] */ 0x64 ( PIN_INPUT | MUX_MODE7 ) /* (U16) gpmc_a9.gpio1[25] */ >; }; feton12_pins_sleep: feton12_pins_sleep { pinctrl-single,pins = < 0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V16) gpmc_a8.gpio1[24] */ 0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U16) gpmc_a9.gpio1[25] */ >; }; nandflash_pins_default: nandflash_pins_default { pinctrl-single,pins = < 0x0 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */ 0x4 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */ 0x8 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */ 0xc (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */ 0x10 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */ 0x14 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */ 0x18 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */ 0x1c (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */ 0x70 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */ 0x74 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_30 */ 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 */ >; }; nandflash_pins_sleep: nandflash_pins_sleep { pinctrl-single,pins = < 0x0 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x4 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x8 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0xc (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x70 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x74 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x7c (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x98 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x9c (PIN_INPUT_PULLDOWN | MUX_MODE7) >; }; ehrpwm1A_pins: backlight_pins { pinctrl-single,pins = < 0x48 ( PIN_OUTPUT_PULLUP | MUX_MODE6 ) /* (U14) gpmc_a2.ehrpwm1A */ 0x4c ( PIN_OUTPUT_PULLUP | MUX_MODE6 ) /* (T14) gpmc_a3.ehrpwm1B */ >; }; ehrpwm1A_pins_sleep: ehrpwm1A_pins_sleep { pinctrl-single,pins = < 0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U14) gpmc_a2.ehrpwm1A */ >; }; ehrpwm1B_pins: backlight1_pins { pinctrl-single,pins = < 0x48 ( PIN_OUTPUT_PULLUP | MUX_MODE6 ) /* (U14) gpmc_a2.ehrpwm1A */ 0x4c ( PIN_OUTPUT_PULLUP | MUX_MODE6 ) /* (T14) gpmc_a3.ehrpwm1B */ >; }; ehrpwm1B_pins_sleep: ehrpwm1B_pins_sleep { pinctrl-single,pins = < 0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T14) gpmc_a3.ehrpwm1B */ >; }; mmc1_pins_default: pinmux_mmc1_pins { pinctrl-single,pins = < 0x0F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */ 0x0F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */ 0x0F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */ 0x0FC (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */ 0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */ 0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */ 0x1A0 (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_aclkr.gpio3_18 */ 0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */ >; }; mmc1_pins_sleep: pinmux_mmc1_pins_sleep { pinctrl-single,pins = < 0x0F0 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x0F4 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x0F8 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x0FC (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE7) >; }; mcasp1_pins: mcasp1_pins { pinctrl-single,pins = < 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */ 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */ 0x108 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */ 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */ 0x130 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* mic detection */ >; }; mcasp1_pins_sleep: mcasp1_pins_sleep { pinctrl-single,pins = < 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7) >; }; ecap_0_pins_default: ecap_0_pins_default { pinctrl-single,pins = < 0x164 ( PIN_INPUT | MUX_MODE0 ) /* (C18) eCAP0_in_PWM0_out.eCAP0_in_PWM0_out */ >; }; ecap_0_pins_sleep: ecap_0_pins_sleep { pinctrl-single,pins = < 0x164 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C18) eCAP0_in_PWM0_out.eCAP0_in_PWM0_out */ >; }; ecap_2_pins_default: ecap_2_pins_default { pinctrl-single,pins = < 0x19c ( PIN_INPUT | MUX_MODE4 ) /* (C12) mcasp0_ahclkr.eCAP2_in_PWM2_out */ >; }; ecap_2_pins_sleep: ecap_2_pins_sleep { pinctrl-single,pins = < 0x19c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C12) mcasp0_ahclkr.eCAP2_in_PWM2_out */ >; }; timer_5_pins_default: timer_5_pins_default { pinctrl-single,pins = < 0x14c ( PIN_INPUT | MUX_MODE1 ) /* (M18) mdio_clk.timer5 */ >; }; timer_5_pins_sleep: timer_5_pins_sleep { pinctrl-single,pins = < 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M18) mdio_clk.timer5 */ >; }; timer_6_pins_default: timer_6_pins_default { pinctrl-single,pins = < 0x148 ( PIN_INPUT | MUX_MODE1 ) /* (M17) mdio_data.timer6 */ >; }; timer_6_pins_sleep: timer_6_pins_sleep { pinctrl-single,pins = < 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M17) mdio_data.timer6 */ >; }; }; &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins>; status = "okay"; }; &uart2 { pinctrl-names = "default"; pinctrl-0 = <&uart2_pins>; status = "okay"; }; &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; status = "okay"; clock-frequency = <400000>; tps: tps@2d { reg = <0x2d>; }; }; &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins>; status = "okay"; clock-frequency = <100000>; tlv320aic3106: tlv320aic3106@18 { compatible = "ti,tlv320aic3100"; reg = <0x18>; status = "okay"; /* Regulators */ HPVDD-supply = <&vaux33_reg>; SPKVDD-supply = <&vdd3_reg>; SPKVDD_1-supply = <&vdd3_reg>; AVDD-supply = <&vaux2_reg>; IOVDD-supply = <&vaux2_reg>; DVDD-supply = <&vdac_reg>; }; }; &usb { pinctrl-0 = <&usb0_pins_default>; status = "okay"; control@44e10620 { status = "okay"; }; usb-phy@47401300 { status = "okay"; }; usb@47401000 { status = "okay"; }; dma-controller@47402000 { status = "okay"; }; usb-phy@47401b00 { status = "okay"; }; usb@47401800 { status = "okay"; dr_mode = "host"; }; }; &wkup_m3 { ti,needs-vtt-toggle; ti,vtt-gpio-pin = <7>; ti,scale-data-fw = "am335x-evm-scale-data.bin"; }; &epwmss1 { status = "okay"; ehrpwm1: ehrpwm@48302200 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&ehrpwm1B_pins>; }; }; &epwmss1 { status = "okay"; ehrpwm1: ehrpwm@48302200 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&ehrpwm1A_pins>; }; }; &timer5{ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&timer_5_pins_default>; }; &timer6{ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&timer_6_pins_default>; }; &epwmss0{ status = "okay"; ecap0: ecap@48300100 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&ecap_0_pins_default>; }; }; &epwmss2{ status = "okay"; ecap2: ecap@48304100 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&ecap_2_pins_default>; }; }; &elm { status = "okay"; }; &gpmc { status = "okay"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&nandflash_pins_default>; pinctrl-1 = <&nandflash_pins_sleep>; ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */ nand@0,0 { reg = <0 0 0>; /* CS0, offset 0 */ ti,nand-ecc-opt = "bch8"; 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 = <44>; gpmc,cs-wr-off-ns = <44>; gpmc,adv-on-ns = <6>; gpmc,adv-rd-off-ns = <34>; gpmc,adv-wr-off-ns = <44>; gpmc,we-on-ns = <0>; gpmc,we-off-ns = <40>; gpmc,oe-on-ns = <0>; gpmc,oe-off-ns = <54>; gpmc,access-ns = <64>; gpmc,rd-cycle-ns = <82>; gpmc,wr-cycle-ns = <82>; gpmc,wait-on-read = "true"; gpmc,wait-on-write = "true"; gpmc,bus-turnaround-ns = <0>; gpmc,cycle2cycle-delay-ns = <0>; gpmc,clk-activation-ns = <0>; gpmc,wait-monitoring-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 0x000020000>; }; partition@1 { label = "NAND.SPL.backup1"; reg = <0x00020000 0x00020000>; }; partition@2 { label = "NAND.SPL.backup2"; reg = <0x00040000 0x00020000>; }; partition@3 { label = "NAND.SPL.backup3"; reg = <0x00060000 0x00020000>; }; partition@4 { label = "NAND.u-boot-spl-os"; reg = <0x00080000 0x00040000>; }; partition@5 { label = "NAND.u-boot"; reg = <0x000C0000 0x00100000>; }; partition@6 { label = "NAND.u-boot-env"; reg = <0x001C0000 0x00020000>; }; partition@7 { label = "NAND.u-boot-env.backup1"; reg = <0x001E0000 0x00020000>; }; partition@8 { label = "NAND.kernel"; reg = <0x00200000 0x00800000>; }; partition@9 { label = "NAND.rootfs"; reg = <0x00A00000 0x0F600000>; }; }; }; #include "tps65910.dtsi" &tps { vcc1-supply = <&vbat>; vcc2-supply = <&vbat>; vcc3-supply = <&vbat>; vcc4-supply = <&vbat>; vcc5-supply = <&vbat>; vcc6-supply = <&vbat>; vcc7-supply = <&vbat>; vccio-supply = <&vbat>; regulators { vrtc_reg: regulator@0 { regulator-always-on; }; vio_reg: regulator@1 { regulator-always-on; }; vdd1_reg: regulator@2 { /* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */ regulator-name = "vdd_mpu"; regulator-min-microvolt = <912500>; regulator-max-microvolt = <1378000>; regulator-boot-on; regulator-always-on; }; vdd2_reg: regulator@3 { /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ regulator-name = "vdd_core"; regulator-min-microvolt = <912500>; regulator-max-microvolt = <1150000>; regulator-boot-on; regulator-always-on; }; vdd3_reg: regulator@4 { regulator-always-on; }; vdig1_reg: regulator@5 { regulator-always-on; }; vdig2_reg: regulator@6 { regulator-always-on; }; vpll_reg: regulator@7 { regulator-always-on; }; vdac_reg: regulator@8 { regulator-always-on; }; vaux1_reg: regulator@9 { regulator-always-on; }; vaux2_reg: regulator@10 { regulator-always-on; }; vaux33_reg: regulator@11 { regulator-always-on; }; vmmc_reg: regulator@12 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-always-on; }; }; }; &mmc1 { status = "okay"; vmmc-supply = <&vmmc_reg>; bus-width = <4>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&mmc1_pins_default>; pinctrl-1 = <&mmc1_pins_sleep>; cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; }; &sham { status = "okay"; }; &aes { status = "okay"; }; &gpio0 { ti,no-reset-on-init; }; &mcasp1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&mcasp1_pins>; pinctrl-1 = <&mcasp1_pins_sleep>; 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>; };