drivers/net: caif: fix wrong rtnl_is_locked() usage
[cascardo/linux.git] / arch / arm / boot / dts / am335x-bone.dts
1 /*
2  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3  *
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.
7  */
8 /dts-v1/;
9
10 /include/ "am33xx.dtsi"
11
12 / {
13         model = "TI AM335x BeagleBone";
14         compatible = "ti,am335x-bone", "ti,am33xx";
15
16         cpus {
17                 cpu@0 {
18                         cpu0-supply = <&dcdc2_reg>;
19                 };
20         };
21
22         memory {
23                 device_type = "memory";
24                 reg = <0x80000000 0x10000000>; /* 256 MB */
25         };
26
27         am33xx_pinmux: pinmux@44e10800 {
28                 pinctrl-names = "default";
29                 pinctrl-0 = <&user_leds_s0>;
30
31                 user_leds_s0: user_leds_s0 {
32                         pinctrl-single,pins = <
33                                 0x54 0x7        /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */
34                                 0x58 0x17       /* gpmc_a6.gpio1_22, OUTPUT_PULLUP | MODE7 */
35                                 0x5c 0x7        /* gpmc_a7.gpio1_23, OUTPUT | MODE7 */
36                                 0x60 0x17       /* gpmc_a8.gpio1_24, OUTPUT_PULLUP | MODE7 */
37                         >;
38                 };
39         };
40
41         ocp {
42                 uart1: serial@44e09000 {
43                         status = "okay";
44                 };
45
46                 i2c0: i2c@44e0b000 {
47                         status = "okay";
48                         clock-frequency = <400000>;
49
50                         tps: tps@24 {
51                                 reg = <0x24>;
52                         };
53
54                 };
55         };
56
57         leds {
58                 compatible = "gpio-leds";
59
60                 led@2 {
61                         label = "beaglebone:green:heartbeat";
62                         gpios = <&gpio1 21 0>;
63                         linux,default-trigger = "heartbeat";
64                         default-state = "off";
65                 };
66
67                 led@3 {
68                         label = "beaglebone:green:mmc0";
69                         gpios = <&gpio1 22 0>;
70                         linux,default-trigger = "mmc0";
71                         default-state = "off";
72                 };
73
74                 led@4 {
75                         label = "beaglebone:green:usr2";
76                         gpios = <&gpio1 23 0>;
77                         default-state = "off";
78                 };
79
80                 led@5 {
81                         label = "beaglebone:green:usr3";
82                         gpios = <&gpio1 24 0>;
83                         default-state = "off";
84                 };
85         };
86 };
87
88 /include/ "tps65217.dtsi"
89
90 &tps {
91         regulators {
92                 dcdc1_reg: regulator@0 {
93                         regulator-always-on;
94                 };
95
96                 dcdc2_reg: regulator@1 {
97                         /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
98                         regulator-name = "vdd_mpu";
99                         regulator-min-microvolt = <925000>;
100                         regulator-max-microvolt = <1325000>;
101                         regulator-boot-on;
102                         regulator-always-on;
103                 };
104
105                 dcdc3_reg: regulator@2 {
106                         /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
107                         regulator-name = "vdd_core";
108                         regulator-min-microvolt = <925000>;
109                         regulator-max-microvolt = <1150000>;
110                         regulator-boot-on;
111                         regulator-always-on;
112                 };
113
114                 ldo1_reg: regulator@3 {
115                         regulator-always-on;
116                 };
117
118                 ldo2_reg: regulator@4 {
119                         regulator-always-on;
120                 };
121
122                 ldo3_reg: regulator@5 {
123                         regulator-always-on;
124                 };
125
126                 ldo4_reg: regulator@6 {
127                         regulator-always-on;
128                 };
129         };
130 };
131
132 &cpsw_emac0 {
133         phy_id = <&davinci_mdio>, <0>;
134         phy-mode = "mii";
135 };
136
137 &cpsw_emac1 {
138         phy_id = <&davinci_mdio>, <1>;
139         phy-mode = "mii";
140 };