Linux Audio

Check our new training course

Loading...
v5.14.15
  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@80000000 {
 25		device_type = "memory";
 26		reg = <0x80000000 0x40000000>; /* 1 GB */
 27	};
 28
 29	uart@3e000000 {
 30		status = "okay";
 31	};
 32
 33	i2c@3e016000 {
 34		status="okay";
 35		clock-frequency = <400000>;
 36	};
 37
 38	i2c@3e017000 {
 39		status="okay";
 40		clock-frequency = <400000>;
 41	};
 42
 43	i2c@3e018000 {
 44		status="okay";
 45		clock-frequency = <400000>;
 46	};
 47
 48	i2c@3500d000 {
 49		status="okay";
 50		clock-frequency = <100000>;
 51
 52		pmu: pmu@8 {
 53			reg = <0x08>;
 54		};
 55	};
 56
 57	sdio2: sdio@3f190000 {
 58		non-removable;
 59		max-frequency = <48000000>;
 60		vmmc-supply = <&camldo1_reg>;
 61		vqmmc-supply = <&iosr1_reg>;
 62		status = "okay";
 63	};
 64
 65	sdio4: sdio@3f1b0000 {
 66		max-frequency = <48000000>;
 67		cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
 68		vmmc-supply = <&sdldo_reg>;
 69		vqmmc-supply = <&sdxldo_reg>;
 70		status = "okay";
 71	};
 72
 73	pwm: pwm@3e01a000 {
 74		status = "okay";
 75	};
 76
 77	usbotg: usb@3f120000 {
 78		vusb_d-supply = <&usbldo_reg>;
 79		vusb_a-supply = <&iosr1_reg>;
 80		status = "okay";
 81	};
 82
 83	usbphy: usb-phy@3f130000 {
 84		status = "okay";
 85	};
 86};
 87
 88#include "bcm59056.dtsi"
 89
 90&pmu {
 91	compatible = "brcm,bcm59056";
 92	interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
 93	regulators {
 94		camldo1_reg: camldo1 {
 95			regulator-min-microvolt = <3300000>;
 96			regulator-max-microvolt = <3300000>;
 97			regulator-always-on;
 98		};
 99
100		sdldo_reg: sdldo {
101			regulator-min-microvolt = <3000000>;
102			regulator-max-microvolt = <3000000>;
103		};
104
105		sdxldo_reg: sdxldo {
106			regulator-min-microvolt = <2700000>;
107			regulator-max-microvolt = <3300000>;
108		};
109
110		usbldo_reg: usbldo {
111			regulator-min-microvolt = <3300000>;
112			regulator-max-microvolt = <3300000>;
113			regulator-always-on;
114		};
115
116		iosr1_reg: iosr1 {
117			regulator-min-microvolt = <1800000>;
118			regulator-max-microvolt = <1800000>;
119			regulator-always-on;
120		};
121	};
122};
v5.9
  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@80000000 {
 25		device_type = "memory";
 26		reg = <0x80000000 0x40000000>; /* 1 GB */
 27	};
 28
 29	uart@3e000000 {
 30		status = "okay";
 31	};
 32
 33	i2c@3e016000 {
 34		status="okay";
 35		clock-frequency = <400000>;
 36	};
 37
 38	i2c@3e017000 {
 39		status="okay";
 40		clock-frequency = <400000>;
 41	};
 42
 43	i2c@3e018000 {
 44		status="okay";
 45		clock-frequency = <400000>;
 46	};
 47
 48	i2c@3500d000 {
 49		status="okay";
 50		clock-frequency = <100000>;
 51
 52		pmu: pmu@8 {
 53			reg = <0x08>;
 54		};
 55	};
 56
 57	sdio2: sdio@3f190000 {
 58		non-removable;
 59		max-frequency = <48000000>;
 60		vmmc-supply = <&camldo1_reg>;
 61		vqmmc-supply = <&iosr1_reg>;
 62		status = "okay";
 63	};
 64
 65	sdio4: sdio@3f1b0000 {
 66		max-frequency = <48000000>;
 67		cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
 68		vmmc-supply = <&sdldo_reg>;
 69		vqmmc-supply = <&sdxldo_reg>;
 70		status = "okay";
 71	};
 72
 73	pwm: pwm@3e01a000 {
 74		status = "okay";
 75	};
 76
 77	usbotg: usb@3f120000 {
 78		vusb_d-supply = <&usbldo_reg>;
 79		vusb_a-supply = <&iosr1_reg>;
 80		status = "okay";
 81	};
 82
 83	usbphy: usb-phy@3f130000 {
 84		status = "okay";
 85	};
 86};
 87
 88#include "bcm59056.dtsi"
 89
 90&pmu {
 91	compatible = "brcm,bcm59056";
 92	interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
 93	regulators {
 94		camldo1_reg: camldo1 {
 95			regulator-min-microvolt = <3300000>;
 96			regulator-max-microvolt = <3300000>;
 97			regulator-always-on;
 98		};
 99
100		sdldo_reg: sdldo {
101			regulator-min-microvolt = <3000000>;
102			regulator-max-microvolt = <3000000>;
103		};
104
105		sdxldo_reg: sdxldo {
106			regulator-min-microvolt = <2700000>;
107			regulator-max-microvolt = <3300000>;
108		};
109
110		usbldo_reg: usbldo {
111			regulator-min-microvolt = <3300000>;
112			regulator-max-microvolt = <3300000>;
113			regulator-always-on;
114		};
115
116		iosr1_reg: iosr1 {
117			regulator-min-microvolt = <1800000>;
118			regulator-max-microvolt = <1800000>;
119			regulator-always-on;
120		};
121	};
122};