Chris Brand | fcd4138 | 2016-05-11 14:36:22 -0700 | [diff] [blame] | 1 | /* |
| 2 | * BSD LICENSE |
| 3 | * |
| 4 | * Copyright(c) 2016 Broadcom. All rights reserved. |
| 5 | * |
| 6 | * Redistribution and use in source and binary forms, with or without |
| 7 | * modification, are permitted provided that the following conditions |
| 8 | * are met: |
| 9 | * |
| 10 | * * Redistributions of source code must retain the above copyright |
| 11 | * notice, this list of conditions and the following disclaimer. |
| 12 | * * Redistributions in binary form must reproduce the above copyright |
| 13 | * notice, this list of conditions and the following disclaimer in |
| 14 | * the documentation and/or other materials provided with the |
| 15 | * distribution. |
| 16 | * * Neither the name of Broadcom Corporation nor the names of its |
| 17 | * contributors may be used to endorse or promote products derived |
| 18 | * from this software without specific prior written permission. |
| 19 | * |
| 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 21 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 22 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 23 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 24 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 25 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 26 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 31 | */ |
| 32 | |
| 33 | /dts-v1/; |
| 34 | |
| 35 | #include <dt-bindings/gpio/gpio.h> |
| 36 | |
| 37 | #include "bcm23550.dtsi" |
| 38 | |
| 39 | / { |
| 40 | model = "BCM23550 Sparrow board"; |
| 41 | compatible = "brcm,bcm23550-sparrow", "brcm,bcm23550"; |
| 42 | |
| 43 | chosen { |
| 44 | stdout-path = "/slaves@3e000000/serial@0:115200n8"; |
| 45 | bootargs = "console=ttyS0,115200n8"; |
| 46 | }; |
| 47 | |
| 48 | memory { |
| 49 | reg = <0x80000000 0x20000000>; /* 512 MB */ |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | &uartb { |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | &usbotg { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | &usbphy { |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
| 65 | &sdio1 { |
| 66 | max-frequency = <48000000>; |
| 67 | status = "okay"; |
| 68 | }; |
| 69 | |
| 70 | &sdio2 { |
| 71 | non-removable; |
| 72 | max-frequency = <48000000>; |
| 73 | status = "okay"; |
| 74 | }; |
| 75 | |
| 76 | &sdio4 { |
| 77 | max-frequency = <48000000>; |
| 78 | cd-gpios = <&gpio 91 GPIO_ACTIVE_LOW>; |
| 79 | status = "okay"; |
| 80 | }; |