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