1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot// Copyright (C) 2013 Broadcom Corporation
3*f126890aSEmmanuel Vadot
4*f126890aSEmmanuel Vadot/dts-v1/;
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot#include "bcm11351.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	model = "BCM28155 AP board";
12*f126890aSEmmanuel Vadot	compatible = "brcm,bcm28155-ap", "brcm,bcm11351";
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot	memory@80000000 {
15*f126890aSEmmanuel Vadot		device_type = "memory";
16*f126890aSEmmanuel Vadot		reg = <0x80000000 0x40000000>; /* 1 GB */
17*f126890aSEmmanuel Vadot	};
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	serial@3e000000 {
20*f126890aSEmmanuel Vadot		status = "okay";
21*f126890aSEmmanuel Vadot	};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot	i2c@3e016000 {
24*f126890aSEmmanuel Vadot		clock-frequency = <400000>;
25*f126890aSEmmanuel Vadot		status = "okay";
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot	i2c@3e017000 {
29*f126890aSEmmanuel Vadot		clock-frequency = <400000>;
30*f126890aSEmmanuel Vadot		status = "okay";
31*f126890aSEmmanuel Vadot	};
32*f126890aSEmmanuel Vadot
33*f126890aSEmmanuel Vadot	i2c@3e018000 {
34*f126890aSEmmanuel Vadot		clock-frequency = <400000>;
35*f126890aSEmmanuel Vadot		status = "okay";
36*f126890aSEmmanuel Vadot	};
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot	i2c@3500d000 {
39*f126890aSEmmanuel Vadot		clock-frequency = <100000>;
40*f126890aSEmmanuel Vadot		status = "okay";
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot		pmu: pmu@8 {
43*f126890aSEmmanuel Vadot			reg = <0x08>;
44*f126890aSEmmanuel Vadot		};
45*f126890aSEmmanuel Vadot	};
46*f126890aSEmmanuel Vadot
47*f126890aSEmmanuel Vadot	sdio2: mmc@3f190000 {
48*f126890aSEmmanuel Vadot		non-removable;
49*f126890aSEmmanuel Vadot		max-frequency = <48000000>;
50*f126890aSEmmanuel Vadot		vmmc-supply = <&camldo1_reg>;
51*f126890aSEmmanuel Vadot		vqmmc-supply = <&iosr1_reg>;
52*f126890aSEmmanuel Vadot		status = "okay";
53*f126890aSEmmanuel Vadot	};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot	sdio4: mmc@3f1b0000 {
56*f126890aSEmmanuel Vadot		max-frequency = <48000000>;
57*f126890aSEmmanuel Vadot		cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
58*f126890aSEmmanuel Vadot		vmmc-supply = <&sdldo_reg>;
59*f126890aSEmmanuel Vadot		vqmmc-supply = <&sdxldo_reg>;
60*f126890aSEmmanuel Vadot		status = "okay";
61*f126890aSEmmanuel Vadot	};
62*f126890aSEmmanuel Vadot
63*f126890aSEmmanuel Vadot	pwm: pwm@3e01a000 {
64*f126890aSEmmanuel Vadot		status = "okay";
65*f126890aSEmmanuel Vadot	};
66*f126890aSEmmanuel Vadot
67*f126890aSEmmanuel Vadot	usbotg: usb@3f120000 {
68*f126890aSEmmanuel Vadot		vusb_d-supply = <&usbldo_reg>;
69*f126890aSEmmanuel Vadot		vusb_a-supply = <&iosr1_reg>;
70*f126890aSEmmanuel Vadot		status = "okay";
71*f126890aSEmmanuel Vadot	};
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot	usbphy: usb-phy@3f130000 {
74*f126890aSEmmanuel Vadot		status = "okay";
75*f126890aSEmmanuel Vadot	};
76*f126890aSEmmanuel Vadot};
77*f126890aSEmmanuel Vadot
78*f126890aSEmmanuel Vadot#include "bcm59056.dtsi"
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot&pmu {
81*f126890aSEmmanuel Vadot	compatible = "brcm,bcm59056";
82*f126890aSEmmanuel Vadot	interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
83*f126890aSEmmanuel Vadot	regulators {
84*f126890aSEmmanuel Vadot		camldo1_reg: camldo1 {
85*f126890aSEmmanuel Vadot			regulator-min-microvolt = <3300000>;
86*f126890aSEmmanuel Vadot			regulator-max-microvolt = <3300000>;
87*f126890aSEmmanuel Vadot			regulator-always-on;
88*f126890aSEmmanuel Vadot		};
89*f126890aSEmmanuel Vadot
90*f126890aSEmmanuel Vadot		sdldo_reg: sdldo {
91*f126890aSEmmanuel Vadot			regulator-min-microvolt = <3000000>;
92*f126890aSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
93*f126890aSEmmanuel Vadot		};
94*f126890aSEmmanuel Vadot
95*f126890aSEmmanuel Vadot		sdxldo_reg: sdxldo {
96*f126890aSEmmanuel Vadot			regulator-min-microvolt = <2700000>;
97*f126890aSEmmanuel Vadot			regulator-max-microvolt = <3300000>;
98*f126890aSEmmanuel Vadot		};
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot		usbldo_reg: usbldo {
101*f126890aSEmmanuel Vadot			regulator-min-microvolt = <3300000>;
102*f126890aSEmmanuel Vadot			regulator-max-microvolt = <3300000>;
103*f126890aSEmmanuel Vadot			regulator-always-on;
104*f126890aSEmmanuel Vadot		};
105*f126890aSEmmanuel Vadot
106*f126890aSEmmanuel Vadot		iosr1_reg: iosr1 {
107*f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
108*f126890aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
109*f126890aSEmmanuel Vadot			regulator-always-on;
110*f126890aSEmmanuel Vadot		};
111*f126890aSEmmanuel Vadot	};
112*f126890aSEmmanuel Vadot};
113