1*46b1e54bSPatrice Chotard/* 2*46b1e54bSPatrice Chotard * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 3*46b1e54bSPatrice Chotard * Author(s): Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics. 4*46b1e54bSPatrice Chotard * 5*46b1e54bSPatrice Chotard * This file is dual-licensed: you can use it either under the terms 6*46b1e54bSPatrice Chotard * of the GPL or the X11 license, at your option. Note that this dual 7*46b1e54bSPatrice Chotard * licensing only applies to this file, and not this project as a 8*46b1e54bSPatrice Chotard * whole. 9*46b1e54bSPatrice Chotard * 10*46b1e54bSPatrice Chotard * a) This file is free software; you can redistribute it and/or 11*46b1e54bSPatrice Chotard * modify it under the terms of the GNU General Public License as 12*46b1e54bSPatrice Chotard * published by the Free Software Foundation; either version 2 of the 13*46b1e54bSPatrice Chotard * License, or (at your option) any later version. 14*46b1e54bSPatrice Chotard * 15*46b1e54bSPatrice Chotard * This file is distributed in the hope that it will be useful, 16*46b1e54bSPatrice Chotard * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*46b1e54bSPatrice Chotard * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*46b1e54bSPatrice Chotard * GNU General Public License for more details. 19*46b1e54bSPatrice Chotard * 20*46b1e54bSPatrice Chotard * Or, alternatively, 21*46b1e54bSPatrice Chotard * 22*46b1e54bSPatrice Chotard * b) Permission is hereby granted, free of charge, to any person 23*46b1e54bSPatrice Chotard * obtaining a copy of this software and associated documentation 24*46b1e54bSPatrice Chotard * files (the "Software"), to deal in the Software without 25*46b1e54bSPatrice Chotard * restriction, including without limitation the rights to use, 26*46b1e54bSPatrice Chotard * copy, modify, merge, publish, distribute, sublicense, and/or 27*46b1e54bSPatrice Chotard * sell copies of the Software, and to permit persons to whom the 28*46b1e54bSPatrice Chotard * Software is furnished to do so, subject to the following 29*46b1e54bSPatrice Chotard * conditions: 30*46b1e54bSPatrice Chotard * 31*46b1e54bSPatrice Chotard * The above copyright notice and this permission notice shall be 32*46b1e54bSPatrice Chotard * included in all copies or substantial portions of the Software. 33*46b1e54bSPatrice Chotard * 34*46b1e54bSPatrice Chotard * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 35*46b1e54bSPatrice Chotard * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 36*46b1e54bSPatrice Chotard * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 37*46b1e54bSPatrice Chotard * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 38*46b1e54bSPatrice Chotard * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 39*46b1e54bSPatrice Chotard * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 40*46b1e54bSPatrice Chotard * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 41*46b1e54bSPatrice Chotard * OTHER DEALINGS IN THE SOFTWARE. 42*46b1e54bSPatrice Chotard */ 43*46b1e54bSPatrice Chotard 44*46b1e54bSPatrice Chotard#include "stm32f4-pinctrl.dtsi" 45*46b1e54bSPatrice Chotard 46*46b1e54bSPatrice Chotard/ { 47*46b1e54bSPatrice Chotard soc { 48*46b1e54bSPatrice Chotard pinctrl: pin-controller { 49*46b1e54bSPatrice Chotard compatible = "st,stm32f429-pinctrl"; 50*46b1e54bSPatrice Chotard 51*46b1e54bSPatrice Chotard gpioa: gpio@40020000 { 52*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 0 16>; 53*46b1e54bSPatrice Chotard }; 54*46b1e54bSPatrice Chotard 55*46b1e54bSPatrice Chotard gpiob: gpio@40020400 { 56*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 16 16>; 57*46b1e54bSPatrice Chotard }; 58*46b1e54bSPatrice Chotard 59*46b1e54bSPatrice Chotard gpioc: gpio@40020800 { 60*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 32 16>; 61*46b1e54bSPatrice Chotard }; 62*46b1e54bSPatrice Chotard 63*46b1e54bSPatrice Chotard gpiod: gpio@40020c00 { 64*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 48 16>; 65*46b1e54bSPatrice Chotard }; 66*46b1e54bSPatrice Chotard 67*46b1e54bSPatrice Chotard gpioe: gpio@40021000 { 68*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 64 16>; 69*46b1e54bSPatrice Chotard }; 70*46b1e54bSPatrice Chotard 71*46b1e54bSPatrice Chotard gpiof: gpio@40021400 { 72*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 80 16>; 73*46b1e54bSPatrice Chotard }; 74*46b1e54bSPatrice Chotard 75*46b1e54bSPatrice Chotard gpiog: gpio@40021800 { 76*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 96 16>; 77*46b1e54bSPatrice Chotard }; 78*46b1e54bSPatrice Chotard 79*46b1e54bSPatrice Chotard gpioh: gpio@40021c00 { 80*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 112 16>; 81*46b1e54bSPatrice Chotard }; 82*46b1e54bSPatrice Chotard 83*46b1e54bSPatrice Chotard gpioi: gpio@40022000 { 84*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 128 16>; 85*46b1e54bSPatrice Chotard }; 86*46b1e54bSPatrice Chotard 87*46b1e54bSPatrice Chotard gpioj: gpio@40022400 { 88*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 144 16>; 89*46b1e54bSPatrice Chotard }; 90*46b1e54bSPatrice Chotard 91*46b1e54bSPatrice Chotard gpiok: gpio@40022800 { 92*46b1e54bSPatrice Chotard gpio-ranges = <&pinctrl 0 160 8>; 93*46b1e54bSPatrice Chotard }; 94*46b1e54bSPatrice Chotard }; 95*46b1e54bSPatrice Chotard }; 96*46b1e54bSPatrice Chotard}; 97