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