2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
10 #include "am33xx.dtsi"
11 #include "am335x-bone-common.dtsi"
12 #include "am335x-boneblack-common.dtsi"
13 #include <dt-bindings/interrupt-controller/irq.h>
16 model = "SanCloud BeagleBone Enhanced";
17 compatible = "sancloud,am335x-boneenhanced", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
21 pinctrl-names = "default";
23 cpsw_default: cpsw_default {
24 pinctrl-single,pins = <
26 AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
27 AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
28 AM33XX_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */
29 AM33XX_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */
30 AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
31 AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
32 AM33XX_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
33 AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */
34 AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */
35 AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */
36 AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
37 AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
41 cpsw_sleep: cpsw_sleep {
42 pinctrl-single,pins = <
43 /* Slave 1 reset value */
44 AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
45 AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
46 AM33XX_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7)
47 AM33XX_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7)
48 AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
49 AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
50 AM33XX_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7)
51 AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7)
52 AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7)
53 AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7)
54 AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
55 AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
59 davinci_mdio_default: davinci_mdio_default {
60 pinctrl-single,pins = <
62 AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
63 AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
67 davinci_mdio_sleep: davinci_mdio_sleep {
68 pinctrl-single,pins = <
69 /* MDIO reset value */
70 AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
71 AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
75 usb_hub_ctrl: usb_hub_ctrl {
76 pinctrl-single,pins = <
77 AM33XX_IOPAD(0x944, PIN_OUTPUT_PULLUP | MUX_MODE7) /* rmii1_refclk.gpio0_29 */
81 mpu6050_pins: pinmux_mpu6050_pins {
82 pinctrl-single,pins = <
83 AM33XX_IOPAD(0x968, PIN_INPUT | MUX_MODE7) /* uart0_ctsn.gpio1_8 */
87 lps3331ap_pins: pinmux_lps3331ap_pins {
88 pinctrl-single,pins = <
89 AM33XX_IOPAD(0x868, PIN_INPUT | MUX_MODE7) /* gpmc_a10.gpio1_26 */
95 pinctrl-names = "default", "sleep";
96 pinctrl-0 = <&cpsw_default>;
97 pinctrl-1 = <&cpsw_sleep>;
102 pinctrl-names = "default", "sleep";
103 pinctrl-0 = <&davinci_mdio_default>;
104 pinctrl-1 = <&davinci_mdio_sleep>;
107 ethphy0: ethernet-phy@0 {
113 phy-handle = <ðphy0>;
114 phy-mode = "rgmii-txid";
118 lps331ap: barometer@5c {
119 compatible = "st,lps331ap-press";
120 st,drdy-int-pin = <1>;
122 interrupt-parent = <&gpio1>;
123 interrupts = <26 IRQ_TYPE_EDGE_RISING>;
126 mpu6050: accelerometer@68 {
127 compatible = "invensense,mpu6050";
129 interrupt-parent = <&gpio0>;
130 interrupts = <2 IRQ_TYPE_EDGE_RISING>;
131 orientation = <0xff 0 0 0 1 0 0 0 0xff>;
134 usb2512b: usb-hub@2c {
135 compatible = "microchip,usb2512b";
137 reset-gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;