Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * 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"
- / {
- model = "TI AM335x uSomIQ";
- compatible = "ti,am335x-usomiq", "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 = <&userled_pins>;
- userled_pins: pinmux_userled_pins {
- pinctrl-single,pins = <
- 0x16c 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */
- 0x168 0x17 /* gpmc_a6.gpio1_22, OUTPUT_PULLUP | MODE7 */
- //0x1b4 0x7 /* gpmc_a7.gpio0_19, OUTPUT | MODE7 */
- 0x1b0 0x17 /* gpmc_a8.gpio0_18, OUTPUT_PULLUP | MODE7 */
- //0xa4 0x27 /* lcd_data1.gpio2_7, OUTPUT | 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 */
- >;
- };
- mmc1_pins: pinmux_mmc1_pins {
- pinctrl-single,pins = <
- 0x160 0x2f /* GPIO0_6 (PIN_INPUT | MUX_MODE7) */
- >;
- };
- spi0_pins_s0: spi0_pins_s0 {
- pinctrl-single,pins = <
- 0x150 0x30 /* spi0_sclk.spi0_sclk, INPUT_PULLUP | MODE0 */
- 0x154 0x30 /* spi0_d0.spi0_d0, INPUT_PULLUP | MODE0 */
- 0x158 0x10 /* spi0_d1.spi0_d1, OUTPUT_PULLUP | MODE0 */
- 0x15c 0x10 /* spi0_cs0.spi0_cs0, OUTPUT_PULLUP | MODE0 */
- >;
- };
- spi1_pins_s0: spi1_pins_s0 {
- pinctrl-single,pins = <
- 0x190 0x33 /* spi1_sclk.spi1_sclk, INPUT_PULLUP | MODE0 */
- 0x194 0x33 /* spi1_d0.spi0_d1, INPUT_PULLUP | MODE0 */
- 0x198 0x13 /* spi1_d1.spi1_d1, OUTPUT_PULLUP | MODE0 */
- //0x19c 0x13 /* spi1_cs0.spi1_cs0, OUTPUT_PULLUP | MODE0 */
- 0xEC 0x17 /* lcd_dat_en.gpio2_25, INTPUT | MODE7 */
- >;
- };
- };
- xtal_max: xtal20@20M {
- #clock-cells = <0>;
- compatible = "fixed-clock";
- clock-frequency = <3686400>;
- };
- 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 9 0>;
- linux,default-trigger = "heartbeat";
- default-state = "off";
- };
- led1 {
- label = "beaglebone:green:usr1";
- gpios = <&gpio2 8 0>;
- linux,default-trigger = "heartbeat";
- default-state = "off";
- };
- };
- rtc@44e3e000 {
- ti,system-power-controller;
- };
- };
- vmmcsd_fixed: fixedregulator@0 {
- compatible = "regulator-fixed";
- regulator-name = "vmmcsd_fixed";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- };
- };
- &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>;
- };
- };
- &spi1 {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&spi1_pins_s0>;
- #address-cells = <1>;
- #size-cells = <0>;
- cs-gpios = <&gpio3 6 0>;
- maxim14830@0 {
- clocks = <&xtal_max>;
- clock-names = "xtal";
- compatible = "max, max310x, max14830";
- //clock-frequency = <3686400>;
- reg=<0>;
- //cs-gpios = <&gpio3 6 0>;
- interrupt-parent = <&gpio3>;
- interrupts = <25 0>;
- spi-max-frequency = <16000000>;
- };
- };
- /include/ "tps65217.dtsi"
- &tps {
- ti,pmic-shutdown-controller;
- interrupt-parent = <&intc>;
- interrupts = <7>; /* NNMI */
- 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 {
- pinctrl-names = "default";
- pinctrl-0 = <&mmc1_pins>;
- bus-width = <0x4>;
- cd-gpios = <&gpio4 19 0>; /* gpio1 is misnamed, 0 == GPIO_ACTIVE_HIGH */
- cd-inverted;
- status = "okay";
- vmmc-supply = <&ldo3_reg>;
- ti,vcc-aux-disable-is-sleep;
- };
- &edma {
- ti,edma-xbar-event-map = <32 12>, /* gpevt2 -> 12 */
- <30 20>; /* xdma_event_intr2 -> 20 */
- };
- &sham {
- status = "okay";
- };
- &aes {
- status = "okay";
- };
- &usb_otg_hs {
- interface_type = <1>;
- power = <250>;
- status = "okay";
- };
- &mmc1 {
- vmmc-supply = <&vmmcsd_fixed>;
- };
- &cpu {
- /*
- * To consider voltage drop between PMIC and SoC,
- * tolerance value is reduced to 2% from 4% and
- * voltage value is increased as a precaution.
- */
- operating-points = <
- /* kHz uV */
- 1000000 1350000
- 800000 1300000
- 600000 1112000
- 300000 969000
- >;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement