Created
March 27, 2013 13:19
-
-
Save cmicali/5254096 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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/ "am33xx.dtsi" | |
/ { | |
model = "TI AM335x BeagleBone"; | |
compatible = "ti,am335x-bone", "ti,am33xx"; | |
cpus { | |
cpu@0 { | |
cpu0-supply = <&dcdc2_reg>; | |
}; | |
}; | |
memory { | |
device_type = "memory"; | |
reg = <0x80000000 0x10000000>; /* 256 MB */ | |
}; | |
am33xx_pinmux: pinmux@44e10800 { | |
pinctrl-names = "default"; | |
pinctrl-0 = <&userleds_pins>; | |
pruss_pins: pruss_pins { | |
pinctrl-single,pins = < | |
0x30 0x16 /* gpmc_ad12.pr1_pru0_pru_r30[14], OUTPUT_PULLUP | MODE6 */ | |
0x34 0x16 /* gpmc_ad13.pr1_pru0_pru_r30[15], OUTPUT_PULLUP | MODE6 */ | |
0x38 0x36 /* gpmc_ad14.pr1_pru0_pru_r31[14], INPUT_PULLUP | MODE6 */ | |
0x3C 0x36 /* gpmc_ad15.pr1_pru0_pru_r31[15], INPUT_PULLUP | MODE6 */ | |
0x190 0x15 /* conf_mcasp0_aclkx.pr1_pru0_pru_r30[0], OUTPUT_PULLUP | MODE5 */ | |
0x194 0x15 /* conf_mcasp0_fsx.pr1_pru0_pru_r30[1], OUTPUT_PULLUP | MODE5 */ | |
0x198 0x15 /* conf_mcasp0_axr0.pr1_pru0_pru_r30[2], OUTPUT_PULLUP | OUTPUT_PULLUP */ | |
0x19C 0x36 /* conf_mcasp0_ahclkr.pr1_pru0_pru_r31[3], INPUT_PULLUP | MODE6 */ | |
0x1A4 0x15 /* conf_mcasp0_fsr.pr1_pru0_pru_r30[5], OUTPUT_PULLUP | MODE5 */ | |
0x1AC 0x15 /* conf_mcasp0_ahclkx.pr1_pru0_pru_r30[7], OUTPUT_PULLUP | MODE5 */ | |
>; | |
}; | |
spi0_pins_s0: spi0_pins_s0 { | |
pinctrl-single,pins = < | |
0x150 0x30 /* spi0_sclk, INPUT_PULLUP | MODE0 */ | |
0x154 0x30 /* spi0_d0, INPUT_PULLUP | MODE0 */ | |
0x158 0x10 /* spi0_d1, OUTPUT_PULLUP | MODE0 */ | |
0x15c 0x10 /* spi0_cs0, OUTPUT_PULLUP | MODE0 */ | |
0x160 0x10 /* spi0_cs1, OUTPUT_PULLUP | MODE0 */ | |
>; | |
}; | |
spi1_pins_s0: spi1_pins_s0 { | |
pinctrl-single,pins = < | |
0x190 0x33 /* mcasp0_aclkx.spi1_sclk, INPUT_PULLUP | MODE3 */ | |
0x194 0x33 /* mcasp0_fsx.spi1_d0, INPUT_PULLUP | MODE3 */ | |
0x198 0x13 /* mcasp0_axr0.spi1_d1, OUTPUT_PULLUP | MODE3 */ | |
0x19c 0x13 /* mcasp0_ahclkr.spi1_cs0, OUTPUT_PULLUP | MODE3 */ | |
>; | |
}; | |
userled_pins: pinmux_userled_pins { | |
pinctrl-single,pins = < | |
0x54 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */ | |
0x58 0x17 /* gpmc_a6.gpio1_22, OUTPUT_PULLUP | MODE7 */ | |
0x5c 0x7 /* gpmc_a7.gpio1_23, OUTPUT | MODE7 */ | |
0x60 0x17 /* gpmc_a8.gpio1_24, OUTPUT_PULLUP | MODE7 */ | |
>; | |
}; | |
i2c0_pins: pinmux_i2c0_pins { | |
pinctrl-single,pins = < | |
0x188 0x70 /* i2c0_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE0 */ | |
0x18c 0x70 /* i2c0_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE0 */ | |
>; | |
}; | |
i2c2_pins: pinmux_i2c2_pins { | |
pinctrl-single,pins = < | |
0x178 0x73 /* uart1_ctsn.i2c2_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */ | |
0x17c 0x73 /* uart1_rtsn.i2c2_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */ | |
>; | |
}; | |
}; | |
ocp: ocp { | |
uart1: serial@44e09000 { | |
status = "okay"; | |
}; | |
gpio-leds { | |
compatible = "gpio-leds"; | |
pinctrl-names = "default"; | |
pinctrl-0 = <&userled_pins>; | |
led0 { | |
label = "beaglebone:green:usr0"; | |
gpios = <&gpio2 21 0>; | |
linux,default-trigger = "heartbeat"; | |
default-state = "off"; | |
}; | |
led1 { | |
label = "beaglebone:green:usr1"; | |
gpios = <&gpio2 22 0>; | |
linux,default-trigger = "mmc0"; | |
default-state = "off"; | |
}; | |
led2 { | |
label = "beaglebone:green:usr2"; | |
gpios = <&gpio2 23 0>; | |
linux,default-trigger = "cpu0"; | |
default-state = "off"; | |
}; | |
led3 { | |
label = "beaglebone:green:usr3"; | |
gpios = <&gpio2 24 0>; | |
default-state = "off"; | |
linux,default-trigger = "mmc1"; | |
}; | |
}; | |
rtc@44e3e000 { | |
ti,system-power-controller; | |
}; | |
}; | |
bone_capemgr { | |
compatible = "ti,bone-capemgr"; | |
status = "disabled"; | |
eeprom = <&baseboard_eeprom>; | |
baseboardmaps { | |
baseboard_beaglebone: board@0 { | |
board-name = "A335BONE"; | |
compatible-name = "ti,beaglebone"; | |
}; | |
baseboard_beaglebone_black: board@1 { | |
board-name = "A335BNLT"; | |
compatible-name = "ti,beaglebone-black"; | |
}; | |
}; | |
slots { | |
slot@0 { | |
eeprom = <&cape_eeprom0>; | |
}; | |
slot@1 { | |
eeprom = <&cape_eeprom1>; | |
}; | |
slot@2 { | |
eeprom = <&cape_eeprom2>; | |
}; | |
slot@3 { | |
eeprom = <&cape_eeprom3>; | |
}; | |
/* Beaglebone black has it soldered on */ | |
slot@4 { | |
ti,cape-override; | |
compatible = "ti,beaglebone-black"; | |
board-name = "Bone-LT-eMMC-2G"; | |
version = "00A0"; | |
manufacturer = "Texas Instruments"; | |
part-number = "BB-BONE-EMMC-2G"; | |
}; | |
/* geiger cape version A0 without an EEPROM */ | |
slot@5 { | |
ti,cape-override; | |
compatible = "kernel-command-line", "runtime"; | |
board-name = "Bone-Geiger"; | |
version = "00A0"; | |
manufacturer = "Geiger Inc."; | |
part-number = "BB-BONE-GEIGER"; | |
}; | |
/* Beaglebone black has it soldered on */ | |
slot@6 { | |
ti,cape-override; | |
compatible = "ti,beaglebone-black"; | |
board-name = "Bone-Black-HDMI"; | |
version = "00A0"; | |
manufacturer = "Texas Instruments"; | |
part-number = "BB-BONELT-HDMI"; | |
}; | |
/* Nixie cape version A0 without an EEPROM */ | |
slot@7 { | |
ti,cape-override; | |
compatible = "kernel-command-line", "runtime"; | |
board-name = "Bone-Nixie"; | |
version = "00A0"; | |
manufacturer = "Ranostay Industries"; | |
part-number = "BB-BONE-NIXIE"; | |
}; | |
}; | |
/* mapping between board names and dtb objects */ | |
capemaps { | |
/* DVI cape */ | |
cape@0 { | |
/* board-name = "BeagleBone DVI-D CAPE"; */ | |
part-number = "BB-BONE-DVID-01"; | |
version@00A0 { | |
version = "00A0"; | |
dtbo = "cape-bone-dvi-00A0.dtbo"; | |
}; | |
version@00A1 { | |
version = "00A1", "01"; | |
dtbo = "cape-bone-dvi-00A1.dtbo"; | |
}; | |
}; | |
/* beaglebone black emmc on board */ | |
cape@1 { | |
/* board-name = "BeagleBone 2G eMMC1 CAPE"; */ | |
part-number = "BB-BONE-EMMC-2G"; | |
version@00A0 { | |
version = "00A0"; | |
dtbo = "cape-bone-2g-emmc1.dtbo"; | |
}; | |
}; | |
/* geiger cape */ | |
cape@2 { | |
part-number = "BB-BONE-GEIGER"; | |
version@00A0 { | |
version = "00A0"; | |
dtbo = "cape-bone-geiger-00A0.dtbo"; | |
}; | |
}; | |
/* LCD3 cape */ | |
cape@3 { | |
part-number = "BB-BONE-LCD3-01"; | |
version@00A0 { | |
version = "00A0"; | |
dtbo = "cape-bone-lcd3-00A0.dtbo"; | |
}; | |
version@00A2 { | |
version = "00A2"; | |
dtbo = "cape-bone-lcd3-00A2.dtbo"; | |
}; | |
}; | |
/* Weather cape */ | |
cape@4 { | |
part-number = "BB-BONE-WTHR-01"; | |
version@00A0 { | |
version = "00A0"; | |
dtbo = "cape-bone-weather-00A0.dtbo"; | |
}; | |
}; | |
/* beaglebone black hdmi on board */ | |
cape@5 { | |
part-number = "BB-BONELT-HDMI"; | |
version@00A0 { | |
version = "00A0"; | |
dtbo = "cape-boneblack-hdmi-00A0.dtbo"; | |
}; | |
}; | |
/* nixie cape */ | |
cape@6 { | |
part-number = "BB-BONE-NIXIE"; | |
version@00A0 { | |
version = "00A0"; | |
dtbo = "cape-bone-nixie-00A0.dtbo"; | |
}; | |
}; | |
}; | |
}; | |
}; | |
&i2c0 { | |
status = "okay"; | |
clock-frequency = <400000>; | |
pinctrl-names = "default"; | |
pinctrl-0 = <&i2c0_pins>; | |
tps: tps@24 { | |
reg = <0x24>; | |
}; | |
baseboard_eeprom: baseboard_eeprom@50 { | |
compatible = "at,24c256"; | |
reg = <0x50>; | |
}; | |
}; | |
&i2c2 { | |
status = "okay"; | |
pinctrl-names = "default"; | |
pinctrl-0 = <&i2c2_pins>; | |
clock-frequency = <100000>; | |
cape_eeprom0: cape_eeprom0@54 { | |
compatible = "at,24c256"; | |
reg = <0x54>; | |
}; | |
cape_eeprom1: cape_eeprom1@55 { | |
compatible = "at,24c256"; | |
reg = <0x55>; | |
}; | |
cape_eeprom2: cape_eeprom2@56 { | |
compatible = "at,24c256"; | |
reg = <0x56>; | |
}; | |
cape_eeprom3: cape_eeprom3@57 { | |
compatible = "at,24c256"; | |
reg = <0x57>; | |
}; | |
}; | |
/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.26V with +/-4% tolerance */ | |
regulator-name = "vdd_mpu"; | |
regulator-min-microvolt = <925000>; | |
regulator-max-microvolt = <1325000>; | |
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 = <3300000>; | |
regulator-always-on; | |
}; | |
ldo4_reg: regulator@6 { | |
regulator-always-on; | |
}; | |
}; | |
}; | |
&cpsw_emac0 { | |
phy_id = <&davinci_mdio>, <0>; | |
}; | |
&cpsw_emac1 { | |
phy_id = <&davinci_mdio>, <1>; | |
}; | |
&mmc1 { | |
status = "okay"; | |
vmmc-supply = <&ldo3_reg>; | |
ti,vcc-aux-disable-is-sleep; | |
}; | |
&edma { | |
ti,edma-xbar-event-map = <32 12>; | |
}; | |
&sham { | |
status = "okay"; | |
}; | |
&aes { | |
status = "okay"; | |
}; | |
&usb_otg_hs { | |
interface_type = <1>; | |
power = <500>; | |
status = "okay"; | |
}; | |
&aes { | |
status = "okay"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment