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