xref: /openbmc/u-boot/arch/arm/dts/stm32f746.dtsi (revision b1a8de7e07a6b40e7c5920566836862cd07df08a)
1*b1a8de7eSMichael Kurz/*
2*b1a8de7eSMichael Kurz * Copyright 2016 - Michael Kurz <michi.kurz@gmail.com>
3*b1a8de7eSMichael Kurz *
4*b1a8de7eSMichael Kurz * Based on:
5*b1a8de7eSMichael Kurz * stm32f429.dtsi from Linux
6*b1a8de7eSMichael Kurz * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
7*b1a8de7eSMichael Kurz *
8*b1a8de7eSMichael Kurz * This file is dual-licensed: you can use it either under the terms
9*b1a8de7eSMichael Kurz * of the GPL or the X11 license, at your option. Note that this dual
10*b1a8de7eSMichael Kurz * licensing only applies to this file, and not this project as a
11*b1a8de7eSMichael Kurz * whole.
12*b1a8de7eSMichael Kurz *
13*b1a8de7eSMichael Kurz *  a) This file is free software; you can redistribute it and/or
14*b1a8de7eSMichael Kurz *     modify it under the terms of the GNU General Public License as
15*b1a8de7eSMichael Kurz *     published by the Free Software Foundation; either version 2 of the
16*b1a8de7eSMichael Kurz *     License, or (at your option) any later version.
17*b1a8de7eSMichael Kurz *
18*b1a8de7eSMichael Kurz *     This file is distributed in the hope that it will be useful,
19*b1a8de7eSMichael Kurz *     but WITHOUT ANY WARRANTY; without even the implied warranty of
20*b1a8de7eSMichael Kurz *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21*b1a8de7eSMichael Kurz *     GNU General Public License for more details.
22*b1a8de7eSMichael Kurz *
23*b1a8de7eSMichael Kurz * Or, alternatively,
24*b1a8de7eSMichael Kurz *
25*b1a8de7eSMichael Kurz *  b) Permission is hereby granted, free of charge, to any person
26*b1a8de7eSMichael Kurz *     obtaining a copy of this software and associated documentation
27*b1a8de7eSMichael Kurz *     files (the "Software"), to deal in the Software without
28*b1a8de7eSMichael Kurz *     restriction, including without limitation the rights to use,
29*b1a8de7eSMichael Kurz *     copy, modify, merge, publish, distribute, sublicense, and/or
30*b1a8de7eSMichael Kurz *     sell copies of the Software, and to permit persons to whom the
31*b1a8de7eSMichael Kurz *     Software is furnished to do so, subject to the following
32*b1a8de7eSMichael Kurz *     conditions:
33*b1a8de7eSMichael Kurz *
34*b1a8de7eSMichael Kurz *     The above copyright notice and this permission notice shall be
35*b1a8de7eSMichael Kurz *     included in all copies or substantial portions of the Software.
36*b1a8de7eSMichael Kurz *
37*b1a8de7eSMichael Kurz *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38*b1a8de7eSMichael Kurz *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39*b1a8de7eSMichael Kurz *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40*b1a8de7eSMichael Kurz *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41*b1a8de7eSMichael Kurz *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
42*b1a8de7eSMichael Kurz *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43*b1a8de7eSMichael Kurz *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44*b1a8de7eSMichael Kurz *     OTHER DEALINGS IN THE SOFTWARE.
45*b1a8de7eSMichael Kurz */
46*b1a8de7eSMichael Kurz
47*b1a8de7eSMichael Kurz#include "armv7-m.dtsi"
48*b1a8de7eSMichael Kurz#include <dt-bindings/pinctrl/stm32f746-pinfunc.h>
49*b1a8de7eSMichael Kurz
50*b1a8de7eSMichael Kurz/ {
51*b1a8de7eSMichael Kurz	soc {
52*b1a8de7eSMichael Kurz		mac: ethernet@40028000 {
53*b1a8de7eSMichael Kurz			compatible = "st,stm32-dwmac";
54*b1a8de7eSMichael Kurz			reg = <0x40028000 0x8000>;
55*b1a8de7eSMichael Kurz			reg-names = "stmmaceth";
56*b1a8de7eSMichael Kurz			interrupts = <61>, <62>;
57*b1a8de7eSMichael Kurz			interrupt-names = "macirq", "eth_wake_irq";
58*b1a8de7eSMichael Kurz			snps,pbl = <8>;
59*b1a8de7eSMichael Kurz			snps,mixed-burst;
60*b1a8de7eSMichael Kurz			dma-ranges;
61*b1a8de7eSMichael Kurz			status = "disabled";
62*b1a8de7eSMichael Kurz		};
63*b1a8de7eSMichael Kurz
64*b1a8de7eSMichael Kurz		qspi: quadspi@A0001000 {
65*b1a8de7eSMichael Kurz			compatible = "st,stm32-qspi";
66*b1a8de7eSMichael Kurz			#address-cells = <1>;
67*b1a8de7eSMichael Kurz			#size-cells = <0>;
68*b1a8de7eSMichael Kurz			reg = <0xA0001000 0x1000>, <0x90000000 0x10000000>;
69*b1a8de7eSMichael Kurz			reg-names = "QuadSPI", "QuadSPI-memory";
70*b1a8de7eSMichael Kurz			interrupts = <92>;
71*b1a8de7eSMichael Kurz			spi-max-frequency = <108000000>;
72*b1a8de7eSMichael Kurz			status = "disabled";
73*b1a8de7eSMichael Kurz		};
74*b1a8de7eSMichael Kurz	};
75*b1a8de7eSMichael Kurz};
76*b1a8de7eSMichael Kurz
77*b1a8de7eSMichael Kurz&systick {
78*b1a8de7eSMichael Kurz	status = "okay";
79*b1a8de7eSMichael Kurz};
80