2013-06-20 07:24:14 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Broadcom Corporation
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation version 2.
|
|
|
|
*
|
|
|
|
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
|
|
|
* kind, whether express or implied; without even the implied warranty
|
|
|
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2014-01-08 02:53:41 +08:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
2013-06-20 07:24:14 +08:00
|
|
|
#include "bcm11351.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "BCM28155 AP board";
|
2013-07-31 07:27:10 +08:00
|
|
|
compatible = "brcm,bcm28155-ap", "brcm,bcm11351";
|
2013-06-20 07:24:14 +08:00
|
|
|
|
|
|
|
memory {
|
|
|
|
reg = <0x80000000 0x40000000>; /* 1 GB */
|
|
|
|
};
|
|
|
|
|
|
|
|
uart@3e000000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2013-08-08 07:57:05 +08:00
|
|
|
|
2013-12-07 07:45:28 +08:00
|
|
|
i2c@3e016000 {
|
|
|
|
status="okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@3e017000 {
|
|
|
|
status="okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@3e018000 {
|
|
|
|
status="okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@3500d000 {
|
|
|
|
status="okay";
|
2014-03-12 22:07:17 +08:00
|
|
|
clock-frequency = <100000>;
|
|
|
|
|
|
|
|
pmu: pmu@8 {
|
|
|
|
reg = <0x08>;
|
|
|
|
};
|
2013-12-07 07:45:28 +08:00
|
|
|
};
|
|
|
|
|
2013-08-08 07:57:05 +08:00
|
|
|
sdio2: sdio@3f190000 {
|
|
|
|
non-removable;
|
|
|
|
max-frequency = <48000000>;
|
2014-03-12 22:07:17 +08:00
|
|
|
vmmc-supply = <&camldo1_reg>;
|
|
|
|
vqmmc-supply = <&iosr1_reg>;
|
2013-08-08 07:57:05 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
sdio4: sdio@3f1b0000 {
|
|
|
|
max-frequency = <48000000>;
|
2014-01-08 02:53:41 +08:00
|
|
|
cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
2014-03-12 22:07:17 +08:00
|
|
|
vmmc-supply = <&sdldo_reg>;
|
|
|
|
vqmmc-supply = <&sdxldo_reg>;
|
2013-08-08 07:57:05 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2013-12-19 22:23:10 +08:00
|
|
|
|
2014-04-26 02:31:14 +08:00
|
|
|
pwm: pwm@3e01a000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-12-19 22:23:10 +08:00
|
|
|
usbotg: usb@3f120000 {
|
2014-03-12 22:07:17 +08:00
|
|
|
vusb_d-supply = <&usbldo_reg>;
|
|
|
|
vusb_a-supply = <&iosr1_reg>;
|
2013-12-19 22:23:10 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
usbphy: usb-phy@3f130000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2013-06-20 07:24:14 +08:00
|
|
|
};
|
2014-03-12 22:07:17 +08:00
|
|
|
|
|
|
|
#include "bcm59056.dtsi"
|
|
|
|
|
|
|
|
&pmu {
|
|
|
|
compatible = "brcm,bcm59056";
|
|
|
|
interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
regulators {
|
|
|
|
camldo1_reg: camldo1 {
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
2014-03-12 21:14:39 +08:00
|
|
|
regulator-always-on;
|
2014-03-12 22:07:17 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
sdldo_reg: sdldo {
|
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sdxldo_reg: sdxldo {
|
|
|
|
regulator-min-microvolt = <2700000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usbldo_reg: usbldo {
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
iosr1_reg: iosr1 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|