2013-07-01 05:01:01 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2012 Oleksandr Tymoshenko <gonzo@bluezbox.com>
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
* SUCH DAMAGE.
|
|
|
|
*
|
|
|
|
* $FreeBSD$
|
|
|
|
*/
|
2018-02-27 15:01:17 +00:00
|
|
|
|
|
|
|
#include "bcm2835-rpi-b.dts"
|
2013-07-01 05:01:01 +00:00
|
|
|
|
|
|
|
/ {
|
2018-02-27 15:01:17 +00:00
|
|
|
/* This is only necessary for FDT_DTB_STATIC */
|
2013-07-01 05:01:01 +00:00
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0 0x8000000>; /* 128MB, Set by VideoCore */
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2016-09-29 02:14:08 +00:00
|
|
|
rpi_ft5406 {
|
|
|
|
compatible = "rpi,rpi-ft5406";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-07-01 05:01:01 +00:00
|
|
|
|
2018-02-27 15:01:17 +00:00
|
|
|
/* Temporary patches */
|
|
|
|
soc {
|
|
|
|
sdhost: mmc@7e202000 {
|
|
|
|
status = "disabled";
|
|
|
|
}
|
2013-07-01 05:01:01 +00:00
|
|
|
|
2018-02-27 15:01:17 +00:00
|
|
|
sdhci@7e300000 {
|
|
|
|
status = "okay";
|
2013-07-01 05:01:01 +00:00
|
|
|
};
|
|
|
|
|
2018-02-27 15:01:17 +00:00
|
|
|
spi@7e204000 {
|
|
|
|
status = "okay";
|
2013-07-01 05:01:01 +00:00
|
|
|
};
|
|
|
|
|
2018-02-27 15:01:17 +00:00
|
|
|
gpio@7e200000 {
|
|
|
|
/* Pins that can short 3.3V to GND in output mode: 46-47
|
|
|
|
* Pins used by VideoCore: 48-53
|
|
|
|
*/
|
|
|
|
broadcom,read-only = <46>, <47>, <48>, <49>, <50>,
|
|
|
|
<51>, <52>, <53>;
|
|
|
|
|
|
|
|
/* Reserved */
|
|
|
|
pins_reserved: reserved {
|
|
|
|
broadcom,pins = <48>, <49>, <50>, <51>, <52>,
|
|
|
|
<53>;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
vchiq {
|
|
|
|
compatible = "brcm,bcm2835-vchiq";
|
|
|
|
reg = <0x7e00b840 0xf>;
|
|
|
|
interrupts = <0 2>;
|
|
|
|
cache-line-size = <32>;
|
2013-07-01 05:01:01 +00:00
|
|
|
};
|
|
|
|
|
2018-02-27 15:01:17 +00:00
|
|
|
display {
|
|
|
|
compatible = "broadcom,bcm2835-fb", "broadcom,bcm2708-fb";
|
2013-07-01 05:01:01 +00:00
|
|
|
|
2018-02-27 15:01:17 +00:00
|
|
|
broadcom,vc-mailbox = <&mailbox>;
|
|
|
|
broadcom,vc-channel = <1>;
|
|
|
|
|
|
|
|
broadcom,width = <0>; /* Set by VideoCore */
|
|
|
|
broadcom,height = <0>; /* Set by VideoCore */
|
|
|
|
broadcom,depth = <0>; /* Set by VideoCore */
|
|
|
|
};
|
2013-07-01 05:01:01 +00:00
|
|
|
|
2015-11-03 04:50:58 +00:00
|
|
|
};
|
2013-07-01 05:01:01 +00:00
|
|
|
};
|
2018-02-27 15:01:17 +00:00
|
|
|
|