Markus Mayer | 28ea3f3 | 2013-06-19 16:24:14 -0700 | [diff] [blame] | 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 | |
Tim Kryger | 94db37a | 2014-01-07 10:53:41 -0800 | [diff] [blame] | 16 | #include <dt-bindings/gpio/gpio.h> |
| 17 | |
Markus Mayer | 28ea3f3 | 2013-06-19 16:24:14 -0700 | [diff] [blame] | 18 | #include "bcm11351.dtsi" |
| 19 | |
| 20 | / { |
| 21 | model = "BCM28155 AP board"; |
Christian Daudt | 15e22dd | 2013-07-30 16:27:10 -0700 | [diff] [blame] | 22 | compatible = "brcm,bcm28155-ap", "brcm,bcm11351"; |
Markus Mayer | 28ea3f3 | 2013-06-19 16:24:14 -0700 | [diff] [blame] | 23 | |
| 24 | memory { |
| 25 | reg = <0x80000000 0x40000000>; /* 1 GB */ |
| 26 | }; |
| 27 | |
| 28 | uart@3e000000 { |
| 29 | status = "okay"; |
| 30 | }; |
Christian Daudt | 30ca653 | 2013-08-07 16:57:05 -0700 | [diff] [blame] | 31 | |
Tim Kryger | 3f5af10 | 2013-12-06 15:45:28 -0800 | [diff] [blame] | 32 | i2c@3e016000 { |
| 33 | status="okay"; |
| 34 | clock-frequency = <400000>; |
| 35 | }; |
| 36 | |
| 37 | i2c@3e017000 { |
| 38 | status="okay"; |
| 39 | clock-frequency = <400000>; |
| 40 | }; |
| 41 | |
| 42 | i2c@3e018000 { |
| 43 | status="okay"; |
| 44 | clock-frequency = <400000>; |
| 45 | }; |
| 46 | |
| 47 | i2c@3500d000 { |
| 48 | status="okay"; |
Matt Porter | a51b4c0 | 2014-03-12 10:07:17 -0400 | [diff] [blame] | 49 | clock-frequency = <100000>; |
| 50 | |
| 51 | pmu: pmu@8 { |
| 52 | reg = <0x08>; |
| 53 | }; |
Tim Kryger | 3f5af10 | 2013-12-06 15:45:28 -0800 | [diff] [blame] | 54 | }; |
| 55 | |
Christian Daudt | 30ca653 | 2013-08-07 16:57:05 -0700 | [diff] [blame] | 56 | sdio2: sdio@3f190000 { |
| 57 | non-removable; |
| 58 | max-frequency = <48000000>; |
Matt Porter | a51b4c0 | 2014-03-12 10:07:17 -0400 | [diff] [blame] | 59 | vmmc-supply = <&camldo1_reg>; |
| 60 | vqmmc-supply = <&iosr1_reg>; |
Christian Daudt | 30ca653 | 2013-08-07 16:57:05 -0700 | [diff] [blame] | 61 | status = "okay"; |
| 62 | }; |
| 63 | |
| 64 | sdio4: sdio@3f1b0000 { |
| 65 | max-frequency = <48000000>; |
Tim Kryger | 94db37a | 2014-01-07 10:53:41 -0800 | [diff] [blame] | 66 | cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>; |
Matt Porter | a51b4c0 | 2014-03-12 10:07:17 -0400 | [diff] [blame] | 67 | vmmc-supply = <&sdldo_reg>; |
| 68 | vqmmc-supply = <&sdxldo_reg>; |
Christian Daudt | 30ca653 | 2013-08-07 16:57:05 -0700 | [diff] [blame] | 69 | status = "okay"; |
| 70 | }; |
Matt Porter | d97f799 | 2013-12-19 09:23:10 -0500 | [diff] [blame] | 71 | |
Tim Kryger | 8411ca1 | 2014-04-25 11:31:14 -0700 | [diff] [blame] | 72 | pwm: pwm@3e01a000 { |
| 73 | status = "okay"; |
| 74 | }; |
| 75 | |
Matt Porter | d97f799 | 2013-12-19 09:23:10 -0500 | [diff] [blame] | 76 | usbotg: usb@3f120000 { |
Matt Porter | a51b4c0 | 2014-03-12 10:07:17 -0400 | [diff] [blame] | 77 | vusb_d-supply = <&usbldo_reg>; |
| 78 | vusb_a-supply = <&iosr1_reg>; |
Matt Porter | d97f799 | 2013-12-19 09:23:10 -0500 | [diff] [blame] | 79 | status = "okay"; |
| 80 | }; |
| 81 | |
| 82 | usbphy: usb-phy@3f130000 { |
| 83 | status = "okay"; |
| 84 | }; |
Markus Mayer | 28ea3f3 | 2013-06-19 16:24:14 -0700 | [diff] [blame] | 85 | }; |
Matt Porter | a51b4c0 | 2014-03-12 10:07:17 -0400 | [diff] [blame] | 86 | |
| 87 | #include "bcm59056.dtsi" |
| 88 | |
| 89 | &pmu { |
| 90 | compatible = "brcm,bcm59056"; |
| 91 | interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>; |
| 92 | regulators { |
| 93 | camldo1_reg: camldo1 { |
| 94 | regulator-min-microvolt = <3300000>; |
| 95 | regulator-max-microvolt = <3300000>; |
Matt Porter | a97d67d | 2014-03-12 09:14:39 -0400 | [diff] [blame] | 96 | regulator-always-on; |
Matt Porter | a51b4c0 | 2014-03-12 10:07:17 -0400 | [diff] [blame] | 97 | }; |
| 98 | |
| 99 | sdldo_reg: sdldo { |
| 100 | regulator-min-microvolt = <3000000>; |
| 101 | regulator-max-microvolt = <3000000>; |
| 102 | }; |
| 103 | |
| 104 | sdxldo_reg: sdxldo { |
| 105 | regulator-min-microvolt = <2700000>; |
| 106 | regulator-max-microvolt = <3300000>; |
| 107 | }; |
| 108 | |
| 109 | usbldo_reg: usbldo { |
| 110 | regulator-min-microvolt = <3300000>; |
| 111 | regulator-max-microvolt = <3300000>; |
| 112 | regulator-always-on; |
| 113 | }; |
| 114 | |
| 115 | iosr1_reg: iosr1 { |
| 116 | regulator-min-microvolt = <1800000>; |
| 117 | regulator-max-microvolt = <1800000>; |
| 118 | regulator-always-on; |
| 119 | }; |
| 120 | }; |
| 121 | }; |