/* * 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. */ /dts-v1/; #include "am33xx.dtsi" #include "dt-bindings/interrupt-controller/irq.h" / { model = "Hetronic H-Touch"; compatible = "hetronic,am335x-htouch", "ti,am33xx"; cpus { cpu@0 { cpu0-supply = <&dcdc2_reg>; }; }; memory { device_type = "memory"; reg = <0x80000000 0x10000000>; /* 256 MB */ }; leds { pinctrl-names = "default", "sleep"; pinctrl-0 = <&user_leds_default>; pinctrl-1 = <&user_leds_sleep>; compatible = "gpio-leds"; led@2 { label = "htouch:blue:heartbeat"; gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; default-state = "off"; }; led@3 { label = "htouch:blue:cpu"; gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>; linux,default-trigger = "cpu0"; default-state = "off"; }; led@4 { label = "htouch:blue:mmc1"; gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; linux,default-trigger = "mmc1"; default-state = "off"; }; led@5 { label = "htouch:blue:mmc0"; gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; linux,default-trigger = "mmc0"; default-state = "off"; }; led@6 { label = "htouch:green:power"; gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led@7 { label = "htouch:yellow:standby"; gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; default-state = "off"; }; }; vmmcsd_fixed: fixedregulator@0 { compatible = "regulator-fixed"; regulator-name = "vmmcsd_fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; wlan_en_reg: fixedregulator@1 { compatible = "regulator-fixed"; regulator-name = "wlan-en-regulator"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; /* gpio = <&gpioex1 9 0>;*/ gpio = <&gpio0 7 0>; startup-delay-us = <70000>; enable-active-high; }; tibt { compatible = "tibt"; nshutdown_gpio = <234>; dev_name = "/dev/ttyS1"; flow_cntrl = <1>; baud_rate = <3000000>; }; panel { compatible = "ti,tilcdc,panel"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&lcd_pins_de_disabled>; pinctrl-1 = <&lcd_pins_sleep>; status = "okay"; panel-info { ac-bias = <255>; ac-bias-intrpt = <0>; dma-burst-sz = <16>; bpp = <32>; fdd = <0x80>; sync-edge = <0>; sync-ctrl = <1>; raster-order = <0>; fifo-th = <0>; }; display-timings { 480x272 { hactive = <480>; vactive = <272>; hback-porch = <43>; hfront-porch = <8>; hsync-len = <1>; vback-porch = <12>; vfront-porch = <4>; vsync-len = <10>; clock-frequency = <9000000>; hsync-active = <1>; vsync-active = <1>; pixelclk-active = <1>; }; }; }; gpio_buttons: gpio_buttons@0 { compatible = "gpio-keys"; pinctrl-names = "default"; pinctrl-0 = <&gpio_wake_pins>; #address-cells = <1>; #size-cells = <0>; switch@1 { label = "wake"; linux,code = <105>; gpios = <&gpio0 30 0>; gpio-key,wakeup; }; }; backlight: backlight@0 { compatible = "ti,omap_pwm_led"; pinctrl-names = "default"; pinctrl-0 = <&backlightpwm_pin>; ti,name = "lcd-backlight"; ti,timer = <&timer7>; ti,prescaler = <2>; ti,def_brightness = <60>; status = "okay"; }; }; &am33xx_pinmux { /* pinctrl-names = "default"; pinctrl-0 = <&clkout2_pin>;*/ user_leds_default: user_leds_default { pinctrl-single,pins = < 0x94 (PIN_OUTPUT | MUX_MODE7) /* gpmc_oen_ren.gpio2_3 */ 0x98 (PIN_OUTPUT | MUX_MODE7) /* gpmc_wen.gpio2_4 */ 0x90 (PIN_OUTPUT | MUX_MODE7) /* gpmc_advn_ale.gpio2_2 */ 0x9C (PIN_OUTPUT | MUX_MODE7) /* gpmc_ben0_cle.gpio2_5 */ 0x58 (PIN_OUTPUT | MUX_MODE7) /* gpmc_a6.gpio1_22 */ 0x5C (PIN_OUTPUT | MUX_MODE7) /* gpmc_a7.gpio1_23 */ >; }; user_leds_sleep: user_leds_sleep { pinctrl-single,pins = < 0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_oen_ren.gpio2_3 */ 0x98 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_wen.gpio2_4 */ 0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_advn_ale.gpio2_2 */ 0x9C (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ben0_cle.gpio2_5 */ 0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */ 0x5C (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */ >; }; i2c1_pins: pinmux_i2c1_pins { pinctrl-single,pins = < 0x158 (PIN_INPUT | MUX_MODE2) /* spi0_d1.i2c1_sda */ 0x15c (PIN_INPUT | MUX_MODE2) /* spi0_cs0.i2c1_scl */ >; }; i2c2_pins: pinmux_i2c2_pins { pinctrl-single,pins = < 0x150 (PIN_INPUT | MUX_MODE2) /* spi0_sclk.i2c2_sda */ 0x154 (PIN_INPUT | MUX_MODE2) /* spi0_d0.i2c2_scl */ 0x1e8 (PIN_INPUT | MUX_MODE7) /* emu1.gpio3_8 */ >; }; 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 */ >; }; uart1_pins: pinmux_uart1_pins { pinctrl-single,pins = < 0x178 (PIN_INPUT | MUX_MODE0) /* uart1_ctsn.uart1_ctsn */ 0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_rtsn.uart1_rtsn */ 0x180 (PIN_INPUT | MUX_MODE0) /* uart1_rxd.uart1_rxd */ 0x184 (PIN_OUTPUT | MUX_MODE0) /* uart1_txd.uart1_txd */ >; }; uart2_pins: pinmux_uart2_pins { pinctrl-single,pins = < 0x188 (PIN_INPUT | MUX_MODE2) /* i2c0_sda.uart2_ctsn */ 0x18C (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* i2c0_scl.uart2_rtsn */ 0x12C (PIN_INPUT_PULLUP | MUX_MODE1) /* mii1_tx_clk.uart2_rxd */ 0x130 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_rx_clk.uart2_txd */ >; }; uart3_pins: pinmux_uart3_pins { pinctrl-single,pins = < 0x134 (PIN_INPUT_PULLUP | MUX_MODE1) /* mii1_rxd3.uart3_rxd */ 0x138 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_rxd2.uart3_txd */ >; }; uart5_pins: pinmux_uart5_pins { pinctrl-single,pins = < 0x108 (PIN_INPUT_PULLUP | MUX_MODE3) /* mii1_col.uart5_rxd */ 0x118 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* mii1_rx_dv.uart5_txd */ >; }; backlightpwm_pin: pinmux_backlightpwm_pin { pinctrl-single,pins = < 0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* xdma_event_intr1.timer7 */ >; }; can0_pins_default: pinmux_can0_pins_default { pinctrl-single,pins = < 0x11c (PIN_OUTPUT_PULLUP | MUX_MODE1) /* mii1_txd3.d_can0_tx */ 0x120 (PIN_INPUT_PULLUP | MUX_MODE1) /* mii1_txd2.d_can0_rx */ >; }; can0_pins_sleep: pinmux_can0_pins_sleep { pinctrl-single,pins = < 0x11c (PIN_INPUT_PULLUP | MUX_MODE7) /* mii1_txd3.d_can0_tx */ 0x120 (PIN_INPUT_PULLUP | MUX_MODE7) /* mii1_txd2.d_can0_rx */ >; }; can1_pins_default: pinmux_can1_pins_default { pinctrl-single,pins = < 0x168 (PIN_OUTPUT_PULLUP | MUX_MODE2) /* uart0_ctsn.d_can1_tx */ 0x16c (PIN_INPUT_PULLUP | MUX_MODE2) /* uart0_rtsn.d_can1_rx */ >; }; can1_pins_sleep: pinmux_can1_pins_sleep { pinctrl-single,pins = < 0x168 (PIN_INPUT_PULLUP | MUX_MODE7) /* uart0_ctsn.d_can1_tx */ 0x16c (PIN_INPUT_PULLUP | MUX_MODE7) /* uart0_rtsn.d_can1_rx */ >; }; cpsw_default: cpsw_default { pinctrl-single,pins = < /* Slave 1 */ 0x10c (PIN_INPUT | MUX_MODE1) /* mii1_crs.rmii1_crs_dv */ 0x110 (PIN_INPUT | MUX_MODE1) /* mii1_rxerr.mii1_rxerr pulldown? */ 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txen.mii1_txen */ 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd1.mii1_txd1 */ 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd0.mii1_txd0 */ 0x13c (PIN_INPUT | MUX_MODE1) /* mii1_rxd1.mii1_rxd1 */ 0x140 (PIN_INPUT | MUX_MODE1) /* mii1_rxd0.mii1_rxd0 */ 0x144 (PIN_INPUT | MUX_MODE0) /* rmii1_refclk.rmii1_refclk */ >; }; cpsw_sleep: cpsw_sleep { pinctrl-single,pins = < /* Slave 1 reset value */ 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7) >; }; 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_PULLDOWN | MUX_MODE7) 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7) >; }; 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 */ 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) >; }; emmc_pins: pinmux_emmc_pins { pinctrl-single,pins = < 0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */ 0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */ 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 */ >; }; mmc3_pins_default: mmc3_pins_default { pinctrl-single,pins = < 0x44 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a1.mmc2_dat0 */ 0x48 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a2.mmc2_dat1 */ 0x4c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a3.mmc2_dat2 */ 0x74 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_31 */ 0x78 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ben1.mmc2_dat3 */ 0x88 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_csn3.mmc2_cmd */ 0x8c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_clk.mmc2_clk */ >; }; mmc3_pins_sleep: pinmux_mmc3_pins_sleep { pinctrl-single,pins = < 0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a1.mmc2_dat0 */ 0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a2.mmc2_dat1 */ 0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a3.mmc2_dat2 */ 0x74 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_31 */ 0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ben1.mmc2_da */ 0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn3.mmc2_cmd */ 0x8c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_clk.mmc2_clk */ >; }; wlan_pins_default: pinmux_wlan_pins_default { pinctrl-single,pins = < 0x1e4 (PIN_INPUT_INPUT | MUX_MODE7) /* emu0.gpio3_7 - WLAN_IRQ */ 0x164 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* eCAP0_in_PWM0_out.gpio0_7 - WLAN_EN */ >; }; wlan_pins_sleep: pinmux_wlan_pins_sleep { pinctrl-single,pins = < 0x1e4 (PIN_INPUT_PULLUP | MUX_MODE7) /* emu0.gpio3_7 - WLAN_IRQ */ 0x164 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* eCAP0_in_PWM0_out.gpio0_7 - WLAN_EN */ >; }; lcd_pins_default: lcd_pins_default { pinctrl-single,pins = < 0x20 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad8.lcd_data23 */ 0x24 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad9.lcd_data22 */ 0x28 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad10.lcd_data21 */ 0x2c (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad11.lcd_data20 */ 0x30 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad12.lcd_data19 */ 0x34 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad13.lcd_data18 */ 0x38 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad14.lcd_data17 */ 0x3c (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad15.lcd_data16 */ 0xa0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data0.lcd_data0 */ 0xa4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data1.lcd_data1 */ 0xa8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data2.lcd_data2 */ 0xac (PIN_OUTPUT | MUX_MODE0) /* lcd_data3.lcd_data3 */ 0xb0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data4.lcd_data4 */ 0xb4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data5.lcd_data5 */ 0xb8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data6.lcd_data6 */ 0xbc (PIN_OUTPUT | MUX_MODE0) /* lcd_data7.lcd_data7 */ 0xc0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data8.lcd_data8 */ 0xc4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data9.lcd_data9 */ 0xc8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data10.lcd_data10 */ 0xcc (PIN_OUTPUT | MUX_MODE0) /* lcd_data11.lcd_data11 */ 0xd0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data12.lcd_data12 */ 0xd4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data13.lcd_data13 */ 0xd8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data14.lcd_data14 */ 0xdc (PIN_OUTPUT | MUX_MODE0) /* lcd_data15.lcd_data15 */ 0xe0 (PIN_OUTPUT | MUX_MODE0) /* lcd_vsync.lcd_vsync */ 0xe4 (PIN_OUTPUT | MUX_MODE0) /* lcd_hsync.lcd_hsync */ 0xe8 (PIN_OUTPUT | MUX_MODE0) /* lcd_pclk.lcd_pclk */ 0xec (PIN_OUTPUT | MUX_MODE0) /* lcd_ac_bias_en.lcd_ac_bias_en */ >; }; lcd_pins_de_disabled: lcd_pins_de_disabled { pinctrl-single,pins = < 0x20 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad8.lcd_data23 */ 0x24 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad9.lcd_data22 */ 0x28 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad10.lcd_data21 */ 0x2c (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad11.lcd_data20 */ 0x30 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad12.lcd_data19 */ 0x34 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad13.lcd_data18 */ 0x38 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad14.lcd_data17 */ 0x3c (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad15.lcd_data16 */ 0xa0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data0.lcd_data0 */ 0xa4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data1.lcd_data1 */ 0xa8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data2.lcd_data2 */ 0xac (PIN_OUTPUT | MUX_MODE0) /* lcd_data3.lcd_data3 */ 0xb0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data4.lcd_data4 */ 0xb4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data5.lcd_data5 */ 0xb8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data6.lcd_data6 */ 0xbc (PIN_OUTPUT | MUX_MODE0) /* lcd_data7.lcd_data7 */ 0xc0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data8.lcd_data8 */ 0xc4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data9.lcd_data9 */ 0xc8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data10.lcd_data10 */ 0xcc (PIN_OUTPUT | MUX_MODE0) /* lcd_data11.lcd_data11 */ 0xd0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data12.lcd_data12 */ 0xd4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data13.lcd_data13 */ 0xd8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data14.lcd_data14 */ 0xdc (PIN_OUTPUT | MUX_MODE0) /* lcd_data15.lcd_data15 */ 0xe0 (PIN_OUTPUT | MUX_MODE0) /* lcd_vsync.lcd_vsync */ 0xe4 (PIN_OUTPUT | MUX_MODE0) /* lcd_hsync.lcd_hsync */ 0xe8 (PIN_OUTPUT | MUX_MODE0) /* lcd_pclk.lcd_pclk */ 0xec (PIN_INPUT_PULLUP | MUX_MODE7) /* lcd_ac_bias_en.lcd_ac_bias_en - detached with pullup to keep display enabled */ >; }; lcd_pins_sleep: lcd_pins_sleep { pinctrl-single,pins = < 0x20 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad8.lcd_data23 */ 0x24 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad9.lcd_data22 */ 0x28 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.lcd_data21 */ 0x2c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad11.lcd_data20 */ 0x30 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad12.lcd_data19 */ 0x34 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad13.lcd_data18 */ 0x38 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad14.lcd_data17 */ 0x3c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad15.lcd_data16 */ 0xa0 (PULL_DISABLE | MUX_MODE7) /* lcd_data0.lcd_data0 */ 0xa4 (PULL_DISABLE | MUX_MODE7) /* lcd_data1.lcd_data1 */ 0xa8 (PULL_DISABLE | MUX_MODE7) /* lcd_data2.lcd_data2 */ 0xac (PULL_DISABLE | MUX_MODE7) /* lcd_data3.lcd_data3 */ 0xb0 (PULL_DISABLE | MUX_MODE7) /* lcd_data4.lcd_data4 */ 0xb4 (PULL_DISABLE | MUX_MODE7) /* lcd_data5.lcd_data5 */ 0xb8 (PULL_DISABLE | MUX_MODE7) /* lcd_data6.lcd_data6 */ 0xbc (PULL_DISABLE | MUX_MODE7) /* lcd_data7.lcd_data7 */ 0xc0 (PULL_DISABLE | MUX_MODE7) /* lcd_data8.lcd_data8 */ 0xc4 (PULL_DISABLE | MUX_MODE7) /* lcd_data9.lcd_data9 */ 0xc8 (PULL_DISABLE | MUX_MODE7) /* lcd_data10.lcd_data10 */ 0xcc (PULL_DISABLE | MUX_MODE7) /* lcd_data11.lcd_data11 */ 0xd0 (PULL_DISABLE | MUX_MODE7) /* lcd_data12.lcd_data12 */ 0xd4 (PULL_DISABLE | MUX_MODE7) /* lcd_data13.lcd_data13 */ 0xd8 (PULL_DISABLE | MUX_MODE7) /* lcd_data14.lcd_data14 */ 0xdc (PULL_DISABLE | MUX_MODE7) /* lcd_data15.lcd_data15 */ 0xe0 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_vsync.lcd_vsync */ 0xe4 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_hsync.lcd_hsync */ 0xe8 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_pclk.lcd_pclk */ 0xec (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_ac_bias_en.lcd_ac_bias_en */ >; }; gpio_wake_pins: gpio_wake_pins { pinctrl-single,pins = < 0x70 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wait0.gpio0_30, mode 7 */ 0x7c (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_csn0.gpio1_29, mode 7 */ >; }; }; &dcan0 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&can0_pins_default>; pinctrl-1 = <&can0_pins_sleep>; status = "okay"; }; &dcan1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&can1_pins_default>; pinctrl-1 = <&can1_pins_sleep>; status = "okay"; }; &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins>; status = "okay"; }; &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart1_pins>; status = "okay"; }; &uart2 { pinctrl-names = "default"; pinctrl-0 = <&uart2_pins>; status = "okay"; }; &uart3 { pinctrl-names = "default"; pinctrl-0 = <&uart3_pins>; status = "okay"; }; &uart5 { pinctrl-names = "default"; pinctrl-0 = <&uart5_pins>; status = "okay"; }; &usb { status = "okay"; control@44e10620 { status = "okay"; }; usb-phy@47401300 { status = "okay"; }; usb-phy@47401b00 { status = "okay"; }; usb@47401000 { status = "okay"; }; usb@47401800 { status = "okay"; dr_mode = "host"; }; dma-controller@47402000 { status = "okay"; }; }; &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; status = "okay"; clock-frequency = <400000>; gpioex0: gpioex@20 { compatible = "nxp,pca9535"; reg = <0x20>; gpio-controller; #gpio-cells = <2>; }; gpioex1: gpioex@21 { compatible = "nxp,pca9535"; reg = <0x21>; gpio-controller; #gpio-cells = <2>; }; tps: tps@24 { reg = <0x24>; tps_bl: backlight { compatible = "ti,tps65217-bl"; isel = <1>; fdim = <100>; default-brightness = <50>; }; }; wlan_eeprom: eeprom@56 { compatible = "atmel,24c256"; reg = <0x56>; pagesize = <64>; }; sys_eeprom: eeprom@57 { compatible = "atmel,24c256"; reg = <0x57>; pagesize = <64>; }; /* Need to add: * apds990x@0x39 - Light Sensor * adxl34x@0x1d - Accelerometer * tlv320aic3x@0x18 - Audio Codec * lm73@0x4c - Temp Sensor */ }; &i2c2 { pinctrl-names = "default"; pinctrl-0 = <&i2c2_pins>; status = "okay"; clock-frequency = <400000>; mxt: mxt@4d { compatible = "atmel,atmel_mxt_ts"; reg = <0x4d>; atmel,cfg_name = "mxt_htouch_8in.bin"; interrupt-parent = <&gpio3>; interrupts = <8 IRQ_TYPE_EDGE_FALLING>; }; }; /include/ "tps65217.dtsi" &tps { ti,pmic-shutdown-controller; regulators { dcdc1_reg: regulator@0 { regulator-always-on; }; dcdc2_reg: regulator@1 { /* 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; }; dcdc3_reg: regulator@2 { /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ regulator-name = "vdd_core"; regulator-min-microvolt = <925000>; regulator-max-microvolt = <1150000>; regulator-boot-on; regulator-always-on; }; ldo1_reg: regulator@3 { regulator-always-on; }; ldo2_reg: regulator@4 { regulator-always-on; }; ldo3_reg: regulator@5 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; }; ldo4_reg: regulator@6 { regulator-always-on; }; }; }; &rtc { ti,system-power-controller; }; &cpsw_emac0 { phy_id = <&davinci_mdio>, <0>; phy-mode = "rmii"; }; &cpsw_emac1 { phy_id = <&davinci_mdio>, <1>; phy-mode = "rmii"; }; &phy_sel { rmii-clock-ext; }; &mac { pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; }; &davinci_mdio { pinctrl-names = "default", "sleep"; pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; }; &edma { /* Required to get DMA on HSMMC2 (mmc3) */ ti,edma-xbar-event-map = /bits/ 16 <1 12 2 13>; }; &mmc1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&mmc1_pins_default>; pinctrl-1 = <&mmc1_pins_sleep>; cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; cd-inverted; bus-width = <0x4>; vmmc-supply = <&vmmcsd_fixed>; status = "okay"; }; &mmc2 { pinctrl-names = "default"; pinctrl-0 = <&emmc_pins>; bus-width = <8>; vmmc-supply = <&vmmcsd_fixed>; ti,vcc-aux-disable-is-sleep; ti,non-removable; status = "okay"; }; &mmc3 { status = "okay"; vmmc-supply = <&wlan_en_reg>; bus-width = <4>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>; pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>; ti,non-removable; ti,needs-special-hs-handling; cap-power-off-card; keep-power-in-suspend; dmas = <&edma 12 &edma 13>; dma-names = "tx", "rx"; #address-cells = <1>; #size-cells = <0>; wlcore: wlcore@0 { compatible = "ti,wl1835"; reg = <2>; interrupt-parent = <&gpio3>; interrupts = <7 IRQ_TYPE_EDGE_RISING>; }; }; &tscadc { status = "okay"; adc { ti,adc-channels = <0 1 2 3 4 5 6 7>; }; }; &lcdc { status = "okay"; }; &timer7 { status = "okay"; }; &sham { status = "okay"; }; &aes { status = "okay"; }; &wkup_m3 { ti,scale-data-fw = "am335x-bone-scale-data.bin"; };