/* * 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. */ #include /{ model = "Tunstall Lifeline"; compatible = "ti,am335x-bone", "ti,am33xx"; #if 1 wlan_en_reg: fixedregulator@1 { compatible = "regulator-fixed"; regulator-name = "wlan-en-regulator"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; gpio = <&gpio2 24 0>; enable-active-high; }; #endif cpus { cpu@0 { cpu0-supply = <&dcdc2_reg>; }; }; memory { device_type = "memory"; /* As per the processor datasheet external RAM is mapped to 0x8000_0000 * address, DDR3 size is of 256 MB * Below declaration represents the starting address and length of the * DDR3register area. * First cell represents the starting address of SDRAM and second * cell represents the size of the register. Since the size of DDR3 is * 256 MB, 2 nd cell size should be 256MB of register area. */ reg = <0x80000000 0x10000000>; /* 256 MB */ }; /* Tunstall Board LED's configuration */ leds { pinctrl-names = "default", "sleep"; pinctrl-0 = <&user_leds_default>; pinctrl-1 = <&user_leds_sleep>; compatible = "gpio-leds"; /* Away LED */ Away_led@1 { label = "Away_led"; gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>; default-state = "off"; }; /* Error LED */ Error_led@2 { label = "Error_led"; gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>; default-state = "off"; }; /* Alarm LED */ Alarm_gpio1@3{ label = "Alarm_led"; gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>; default-state = "off"; }; /* Status LED */ HF_gpio2@4{ label = "HF_led"; gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; default-state = "on"; /* off modified to glow status LED at bootup */ }; /* RGB1 LED */ RGB1_cntr0@5{ label = "RGB1_cntr0"; gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; default-state = "off"; }; /* RGB1 LED */ RGB1_cntr1@6{ label = "RGB1_cntr1"; gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>; default-state = "off"; }; /* RGB1 LED */ RGB1_cntr2@7{ label = "RGB1_cntr2"; gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>; default-state = "off"; }; /* RGB2 LEd */ RGB2_cntr0@8{ label = "RGB2_cntr0"; gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; default-state = "off"; }; /* RGB2 LEd */ RGB2_cntr1@9{ label = "RGB2_cntr1"; gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; default-state = "off"; }; /* RGB2 LEd */ RGB2_cntr2@10{ label = "RGB2_cntr2"; gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>; default-state = "off"; }; }; /* End of LED configuration */ /* GSM reset and gsm power on 3v3 pin configuration */ gsm { pinctrl-names = "default", "sleep"; pinctrl-0 = <&gsm_default>; pinctrl-1 = <&gsm_sleep>; compatible = "gpio-leds"; }; /* audio amplifier pins configuration */ vampc { pinctrl-names = "default", "sleep"; pinctrl-0 = <&vampc_default>; pinctrl-1 = <&vampc_sleep>; compatible = "gpio-leds"; }; /* audio amplifier pins configuration */ audio { pinctrl-names = "default", "sleep"; pinctrl-0 = <&audio_default>; pinctrl-1 = <&audio_sleep>; compatible = "gpio-leds"; }; /* voltage regulators configuration */ power_enable { pinctrl-names = "default", "sleep"; pinctrl-0 = <&power_enable_default>; pinctrl-1 = <&power_enable_sleep>; compatible = "gpio-leds"; }; /* smart RF radio_reset configuration to reset samrt RF */ smartrf { pinctrl-names = "default"; pinctrl-0 = <&smartrf_default>; compatible = "gpio-leds"; }; /* output relay pin configuration */ output_relay { pinctrl-names = "default", "sleep"; pinctrl-0 = <&output_relay_default>; pinctrl-1 = <&output_relay_sleep>; compatible = "gpio-leds"; }; /* battery section related configurations */ battery { pinctrl-names = "default", "sleep"; pinctrl-0 = <&battery_default>; pinctrl-1 = <&battery_sleep>; compatible = "gpio-leds"; }; /* monoirq configuration */ monoirq { pinctrl-names = "default", "sleep"; pinctrl-0 = <&monoirq_default>; compatible = "gpio-leds"; }; /* usb0_ocn configuration */ usb0_ocn { pinctrl-names = "default", "sleep"; pinctrl-0 = <&usb00cn_default>; pinctrl-1 = <&usb00cn_sleep>; compatible = "gpio-leds"; }; vmmcsd_fixed: fixedregulator@0 { compatible = "regulator-fixed"; regulator-name = "vmmcsd_fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; /* mii reset pin configuration */ mii_reset { pinctrl-names = "default"; pinctrl-0 = <&mii_reset_default>; compatible = "gpio-leds"; }; /* All the unused pins are confgured in this node, * and they are configured as INPUT_PULLDOWN to make * sure that pins are not consuming any power */ #if 0 unused_pins { pinctrl-names = "default"; pinctrl-0 = <&unusedpins_default>; compatible = "gpio-leds"; }; #endif #if 0 wlan_en_reg: fixedregulator@1 { compatible = "regulator-fixed"; regulator-name = "wlan-en-regulator"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; gpio = <&gpio2 24 0>; enable-active-high; }; #endif }; &am33xx_pinmux { pinctrl-names = "default"; pinctrl-0 = <&clkout2_pin>; user_leds_default: user_leds_default { pinctrl-single,pins = < 0xa0 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D0/Away_LED */ 0xa4 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D1/Error_LED */ 0x6C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* Alarm_led */ 0x30 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpio1_12 H/F led */ 0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* RGB1_cntr0*/ 0xb4 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D5/RGB1_Cnt1 */ 0xb8 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D6/RGB1_Cnt2 */ 0x38 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D7/RGB2_Cnt0 */ 0xbc (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D7/RGB2_Cnt1 */ 0x19C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D7/RGB2_Cnt1 */ /* 555 timer controller gpio pin */ 0xA8 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D2/led_cntl */ >; }; user_leds_sleep: user_leds_sleep { pinctrl-single,pins = < /* 555 timer controller gpio pin should be ON in deep sleep mode*/ 0xA8 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* D2/LED_CNTL */ >; }; battery_default: battery_default { pinctrl-single,pins = < 0x44 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpio1_17 Batt_charge_on */ 0x94 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* 83ma_43ma_ch_sel */ 0x1A4 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* Batt_on */ >; }; battery_sleep: battery_sleep { pinctrl-single,pins = < 0x44 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpio1_17 Batt_charge_on */ >; }; output_relay_default: output_relay_default { pinctrl-single,pins = < 0x34 (PIN_INPUT | MUX_MODE7) /* gpio1_13 Output_relay*/ >; }; output_relay_sleep: output_relay_sleep { pinctrl-single,pins = < 0x34 (PIN_INPUT | MUX_MODE7) /* gpio1_13 Output_relay*/ >; }; gsm_default: gsm_default { pinctrl-single,pins = < 0x1A0 (PIN_OUTPUT_PULLUP | MUX_MODE7) /*GSM_RESET */ 0xEC (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* GSM_PWR_ON_3V3 */ >; }; gsm_sleep: gsm_sleep { pinctrl-single,pins = < 0x1A0 (PIN_OUTPUT_PULLUP | MUX_MODE7) /*GSM_RESET */ 0xEC (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* GSM_PWR_ON_3V3 */ >; }; vampc_default: vampc_default { pinctrl-single,pins = < 0x98 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* Vamp_C1 */ 0x88 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* Vamp_C2 */ >; }; vampc_sleep: vampc_sleep { pinctrl-single,pins = < 0x98 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* Vamp_C1 */ 0x88 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* Vamp_C2 */ >; }; audio_default: audio_default { pinctrl-single,pins = < 0x8C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* MIC_Mute */ 0x5C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* DS0_sup_cnt */ 0xE4 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* SC_SUP_CNTL */ >; }; audio_sleep: audio_sleep { pinctrl-single,pins = < 0x8C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* MIC_Mute */ 0x5C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* DS0_sup_cnt */ 0xE4 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* SC_SUP_CNTL */ >; }; power_enable_default: power_enable_default { pinctrl-single,pins = < 0x9C (PIN_OUTPUT_PULLUP | MUX_MODE7) /* Power Enable 3v3*/ 0x58 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* Power Enable 3v8 */ >; }; power_enable_sleep: power_enable_sleep { pinctrl-single,pins = < 0x9C (PIN_OUTPUT_PULLUP | MUX_MODE7) /* Power Enable 3v3 */ 0x58 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* Power Enable 3v8 */ >; }; smartrf_default: smartrf_default { pinctrl-single,pins = < 0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* radio reset */ 0x64 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* bootloader_ctrl */ >; }; mii_reset_default: mii_reset_default { pinctrl-single,pins = < 0x3C (PIN_OUTPUT_PULLUP | MUX_MODE7) /* MII reset */ >; }; monoirq_default: monoirq_default { pinctrl-single,pins = < 0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mono_irq */ >; }; usb00cn_default: usb00cn_default { pinctrl-single,pins = < 0x150 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* USB0_ocn */ >; }; usb00cn_sleep: usb00cn_sleep { pinctrl-single,pins = < 0x150 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* USB0_ocn */ >; }; #if 0 wifipowerenable_default: wifipowerenable_default { pinctrl-single,pins = < 0xB0 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* D4/WIFI_PWR_EN */ >; }; wifipowerenable_sleep: wifipowerenable_sleep { pinctrl-single,pins = < 0xB0 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D4/WIFI_PWR_EN */ >; }; #endif 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 configuration for Debug port */ 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 configuration for GSM */ uart1_pins: pinmux_uart1_pins { pinctrl-single,pins = < 0x180 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rxd.uart1_rxd */ 0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */ >; }; /* UART4 configuration for smartRF */ smartrf_uart4_pins: pinmux_smartrf_uart4_pins { pinctrl-single,pins = < 0x70 (PIN_INPUT_PULLUP | MUX_MODE6) /* smartrf.uart4_rxd */ 0x74 (PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* smartrf.uart4_txd */ >; }; /* UART5 configuration for POTS */ uart5_pins: pinmux_uart5_pins { pinctrl-single,pins = < 0xC4 (PIN_INPUT_PULLUP | MUX_MODE4) /* uart5_rxd */ 0xC0 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* uart5_txd */ >; }; clkout2_pin: pinmux_clkout2_pin { pinctrl-single,pins = < 0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */ >; }; cpsw_default: cpsw_default { pinctrl-single,pins = < /* Slave 1 */ 0x110 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxerr.mii1_rxerr */ 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txen.mii1_txen */ 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxdv.mii1_rxdv */ 0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd3.mii1_txd3 */ 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd2.mii1_txd2 */ 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd1.mii1_txd1 */ 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd0.mii1_txd0 */ 0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_txclk.mii1_txclk */ 0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxclk.mii1_rxclk */ 0x134 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd3.mii1_rxd3 */ 0x138 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd2.mii1_rxd2 */ 0x13c (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd1.mii1_rxd1 */ 0x140 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd0.mii1_rxd0 */ >; }; cpsw_sleep: cpsw_sleep { pinctrl-single,pins = < /* Slave 1 reset value */ 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x140 (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 */ 0x108 (PIN_INPUT_PULLUP | MUX_MODE7) /* MII1_COL */ 0x60 (PIN_OUTPUT_PULLUP | MUX_MODE7) /*D15_PHY_SUP_CNT */ >; }; davinci_mdio_sleep: davinci_mdio_sleep { pinctrl-single,pins = < /* MDIO reset value */ 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mdio_data.mdio_data */ 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mdio_clk.mdio_clk */ 0x108 (PIN_INPUT_PULLUP | MUX_MODE7) /* MII1_COL */ 0x60 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /*D15_PHY_SUP_CNT */ >; }; 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 */ >; }; 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) >; }; wlan_pins_default: pinmux_wlan_pins_default { pinctrl-single,pins = < 0xE8 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* V5 --> conf_lcd_pclk.gpio2_24 WL_EN*/ 0x160 (PIN_INPUT_PULLUP | MUX_MODE7) /* C15 --> conf_spi0_cs1.gpio0_6 WL_IRQ*/ 0xB0 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (T1 = WIFI_PWR_ENABLE regulator) lcd_data4.gpio2[10] */ >; }; wlan_pins_sleep: pinmux_wlan_pins_sleep { pinctrl-single,pins = < 0xE8 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* V5 --> conf_lcd_pclk.gpio2_24 WL_EN*/ 0x160 (PIN_INPUT_PULLUP | MUX_MODE7) /* C15 --> conf_spi0_cs1.gpio0_6 WL_IRQ*/ 0xB0 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (T1 = WIFI_PWR_ENABLE regulator) lcd_data4.gpio2[10] */ >; }; emmc_pins: pinmux_emmc_pins { pinctrl-single,pins = < 0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* mmc1_clk */ 0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* mmc1_cmd */ 0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* mmc1_dat0 */ 0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* mmc1_dat1 */ 0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* mmc1_dat2 */ 0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* mmc1_dat3 */ 0x10 (PIN_INPUT_PULLUP | MUX_MODE1) /* mmc1_dat4 */ 0x14 (PIN_INPUT_PULLUP | MUX_MODE1) /* mmc1_dat5 */ 0x18 (PIN_INPUT_PULLUP | MUX_MODE1) /* mmc1_dat6 */ 0x1c (PIN_INPUT_PULLUP | MUX_MODE1) /* mmc1_dat7 */ >; }; ehrpwm1_pin_pwm3_led: pinmux_ehrpwm1_pin_pwm3_led { /* Modified to support Status LED to glow at bootup by converting as GPIO pin */ /*pinctrl-single,pins = < 0x048 MUX_MODE6 >; */ /* ehrpwm pin */ pinctrl-single,pins = < 0x048 (PIN_OUTPUT_PULLUP | MUX_MODE7) >; /* ehrpwm pin */ }; #if 0 unusedpins_default: pinmux_unusedpins_default { pinctrl-single,pins = < 0x7C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* Extra_TP12 */ 0x78 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* Extra_TP6 */ 0x4C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* BT_FUNC2 */ 0x68 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* GPIO_PBIN */ 0xAC (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D3 */ 0xD8 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* D14 */ // 0xE8 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* WIFI_ENABLE */ // 0XE0 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* BT_EN */ >; }; #endif }; /* UART0 configuration for the GSM Port */ &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins>; status = "okay"; }; /* UART1 configuration for the debug port */ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart1_pins>; status = "okay"; }; /* Blue tooth configuration, at present not using */ #if 0 /* For USB1 to UART3 */ &uart3 { status = "okay"; }; #endif /* UART4 configuration for smartRF */ &uart4 { pinctrl-names = "default"; pinctrl-0 = <&smartrf_uart4_pins>; status = "okay"; }; /* UART5 configuration for the POTS port */ &uart5 { pinctrl-names = "default"; pinctrl-0 = <&uart5_pins>; status = "okay"; }; /* End */ /* USB configuration */ &usb { status = "okay"; control@44e10620 { status = "okay"; }; usb-phy@47401300 { status = "okay"; }; usb-phy@47401b00 { status = "okay"; }; usb@47401000 { status = "okay"; }; #if 0 usb@47401800 { status = "okay"; /*dr_mode = "host";*/ //COMMENTED for USB1 to UART3 }; #endif dma-controller@47402000 { status = "okay"; }; }; /* i2c0 configuration */ &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins>; status = "okay"; clock-frequency = <400000>; tps: tps@24 { reg = <0x24>; }; lm75: tcn75@48 { compatible = "lm75,tcn75"; reg = <0x48>; }; }; /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-always-on; }; ldo4_reg: regulator@6 { regulator-always-on; }; rtc@44e3e000 { ti,system-power-controller; }; }; }; /* Dual Emac mode implementation */ &cpsw_emac0 { phy_id = <&davinci_mdio>, <1>; /*CADB DP83848 PHY*/ phy-mode = "mii"; }; /* Dual Emac mode implementation */ &cpsw_emac1 { phy_id = <&davinci_mdio>, <1>; phy-mode = "mii"; }; /* Dual EMAC configuration */ &mac { pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; /* Sleep section of ethernet interface handle by Application */ /*pinctrl-1 = <&cpsw_sleep>;*/ }; /* Ethernet subsystem configuration */ &davinci_mdio { pinctrl-names = "default", "sleep"; pinctrl-0 = <&davinci_mdio_default>; /* Sleep section of ethernet interface handle by Application */ /* pinctrl-1 = <&davinci_mdio_sleep>; */ }; &wkup_m3 { ti,scale-data-fw = "am335x-bone-scale-data.bin"; }; /* EHRPWM1A configuration as PWM, to control the intensity of the LED light */ &epwmss1 { pinctrl-names = "default"; pinctrl-0 = < &ehrpwm1_pin_pwm3_led >; status = "okay"; ehrpwm@48302200 { status = "okay"; }; }; /* SDCard configuration */ &mmc1 { status = "okay"; vmmc-supply = <&wlan_en_reg>; bus-width = <4>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&mmc1_pins_default &wlan_pins_default>; pinctrl-1 = <&mmc1_pins_sleep &wlan_pins_sleep>; // pinctrl-0 = <&mmc1_pins_default>; // pinctrl-1 = <&mmc1_pins_sleep>; ti,non-removable; ti,needs-special-hs-handling; cap-power-off-card; keep-power-in-suspend; #address-cells = <1>; #size-cells = <0>; wlcore: wlcore@0 { compatible = "ti,wl1831"; reg = <2>; interrupt-parent = <&gpio0>; interrupts = <6 IRQ_TYPE_LEVEL_HIGH>; }; };