Merge branch 'async-scsi-resume' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / arch / arm / boot / dts / bcm28155-ap.dts
1 /*
2  * Copyright (C) 2013 Broadcom Corporation
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation version 2.
7  *
8  * This program is distributed "as is" WITHOUT ANY WARRANTY of any
9  * kind, whether express or implied; without even the implied warranty
10  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
13
14 /dts-v1/;
15
16 #include <dt-bindings/gpio/gpio.h>
17
18 #include "bcm11351.dtsi"
19
20 / {
21         model = "BCM28155 AP board";
22         compatible = "brcm,bcm28155-ap", "brcm,bcm11351";
23
24         memory {
25                 reg = <0x80000000 0x40000000>; /* 1 GB */
26         };
27
28         uart@3e000000 {
29                 status = "okay";
30         };
31
32         i2c@3e016000 {
33                 status="okay";
34                 clock-frequency = <400000>;
35         };
36
37         i2c@3e017000 {
38                 status="okay";
39                 clock-frequency = <400000>;
40         };
41
42         i2c@3e018000 {
43                 status="okay";
44                 clock-frequency = <400000>;
45         };
46
47         i2c@3500d000 {
48                 status="okay";
49                 clock-frequency = <100000>;
50
51                 pmu: pmu@8 {
52                         reg = <0x08>;
53                 };
54         };
55
56         sdio2: sdio@3f190000 {
57                 non-removable;
58                 max-frequency = <48000000>;
59                 vmmc-supply = <&camldo1_reg>;
60                 vqmmc-supply = <&iosr1_reg>;
61                 status = "okay";
62         };
63
64         sdio4: sdio@3f1b0000 {
65                 max-frequency = <48000000>;
66                 cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
67                 vmmc-supply = <&sdldo_reg>;
68                 vqmmc-supply = <&sdxldo_reg>;
69                 status = "okay";
70         };
71
72         usbotg: usb@3f120000 {
73                 vusb_d-supply = <&usbldo_reg>;
74                 vusb_a-supply = <&iosr1_reg>;
75                 status = "okay";
76         };
77
78         usbphy: usb-phy@3f130000 {
79                 status = "okay";
80         };
81 };
82
83 #include "bcm59056.dtsi"
84
85 &pmu {
86         compatible = "brcm,bcm59056";
87         interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
88         regulators {
89                 camldo1_reg: camldo1 {
90                         regulator-min-microvolt = <3300000>;
91                         regulator-max-microvolt = <3300000>;
92                         regulator-always-on;
93                 };
94
95                 sdldo_reg: sdldo {
96                         regulator-min-microvolt = <3000000>;
97                         regulator-max-microvolt = <3000000>;
98                 };
99
100                 sdxldo_reg: sdxldo {
101                         regulator-min-microvolt = <2700000>;
102                         regulator-max-microvolt = <3300000>;
103                 };
104
105                 usbldo_reg: usbldo {
106                         regulator-min-microvolt = <3300000>;
107                         regulator-max-microvolt = <3300000>;
108                         regulator-always-on;
109                 };
110
111                 iosr1_reg: iosr1 {
112                         regulator-min-microvolt = <1800000>;
113                         regulator-max-microvolt = <1800000>;
114                         regulator-always-on;
115                 };
116         };
117 };