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@80000000 {
49		device_type = "memory";
50		reg = <0x80000000 0x20000000>; /* 512 MB */
51	};
52};
53
54&uartb {
55	status = "okay";
56};
57
58&usbotg {
59	status = "okay";
60};
61
62&usbphy {
63	status = "okay";
64};
65
66&sdio1 {
67	max-frequency = <48000000>;
68	status = "okay";
69};
70
71&sdio2 {
72	non-removable;
73	max-frequency = <48000000>;
74	status = "okay";
75};
76
77&sdio4 {
78	max-frequency = <48000000>;
79	cd-gpios = <&gpio 91 GPIO_ACTIVE_LOW>;
80	status = "okay";
81};
82