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