1*1537cf73SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2*1537cf73SEmmanuel Vadot/* 3*1537cf73SEmmanuel Vadot * Axis ARTPEC-8 SoC pin-mux and pin-config device tree source 4*1537cf73SEmmanuel Vadot * 5*1537cf73SEmmanuel Vadot * Copyright (c) 2025 Samsung Electronics Co., Ltd. 6*1537cf73SEmmanuel Vadot * https://www.samsung.com 7*1537cf73SEmmanuel Vadot * Copyright (c) 2025 Axis Communications AB. 8*1537cf73SEmmanuel Vadot * https://www.axis.com 9*1537cf73SEmmanuel Vadot */ 10*1537cf73SEmmanuel Vadot 11*1537cf73SEmmanuel Vadot#include "artpec-pinctrl.h" 12*1537cf73SEmmanuel Vadot 13*1537cf73SEmmanuel Vadot&pinctrl_fsys { 14*1537cf73SEmmanuel Vadot gpe0: gpe0-gpio-bank { 15*1537cf73SEmmanuel Vadot gpio-controller; 16*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 17*1537cf73SEmmanuel Vadot interrupt-controller; 18*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 19*1537cf73SEmmanuel Vadot }; 20*1537cf73SEmmanuel Vadot 21*1537cf73SEmmanuel Vadot gpe1: gpe1-gpio-bank { 22*1537cf73SEmmanuel Vadot gpio-controller; 23*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 24*1537cf73SEmmanuel Vadot interrupt-controller; 25*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 26*1537cf73SEmmanuel Vadot }; 27*1537cf73SEmmanuel Vadot 28*1537cf73SEmmanuel Vadot gpe2: gpe2-gpio-bank { 29*1537cf73SEmmanuel Vadot gpio-controller; 30*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 31*1537cf73SEmmanuel Vadot interrupt-controller; 32*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 33*1537cf73SEmmanuel Vadot }; 34*1537cf73SEmmanuel Vadot 35*1537cf73SEmmanuel Vadot gpf0: gpf0-gpio-bank { 36*1537cf73SEmmanuel Vadot gpio-controller; 37*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 38*1537cf73SEmmanuel Vadot interrupt-controller; 39*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 40*1537cf73SEmmanuel Vadot }; 41*1537cf73SEmmanuel Vadot 42*1537cf73SEmmanuel Vadot gpf1: gpf1-gpio-bank { 43*1537cf73SEmmanuel Vadot gpio-controller; 44*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 45*1537cf73SEmmanuel Vadot interrupt-controller; 46*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 47*1537cf73SEmmanuel Vadot }; 48*1537cf73SEmmanuel Vadot 49*1537cf73SEmmanuel Vadot gpf2: gpf2-gpio-bank { 50*1537cf73SEmmanuel Vadot gpio-controller; 51*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 52*1537cf73SEmmanuel Vadot interrupt-controller; 53*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 54*1537cf73SEmmanuel Vadot }; 55*1537cf73SEmmanuel Vadot 56*1537cf73SEmmanuel Vadot gpf3: gpf3-gpio-bank { 57*1537cf73SEmmanuel Vadot gpio-controller; 58*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 59*1537cf73SEmmanuel Vadot interrupt-controller; 60*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 61*1537cf73SEmmanuel Vadot }; 62*1537cf73SEmmanuel Vadot 63*1537cf73SEmmanuel Vadot gpf4: gpf4-gpio-bank { 64*1537cf73SEmmanuel Vadot gpio-controller; 65*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 66*1537cf73SEmmanuel Vadot interrupt-controller; 67*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 68*1537cf73SEmmanuel Vadot }; 69*1537cf73SEmmanuel Vadot 70*1537cf73SEmmanuel Vadot gps0: gps0-gpio-bank { 71*1537cf73SEmmanuel Vadot gpio-controller; 72*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 73*1537cf73SEmmanuel Vadot interrupt-controller; 74*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 75*1537cf73SEmmanuel Vadot }; 76*1537cf73SEmmanuel Vadot 77*1537cf73SEmmanuel Vadot gps1: gps1-gpio-bank { 78*1537cf73SEmmanuel Vadot gpio-controller; 79*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 80*1537cf73SEmmanuel Vadot interrupt-controller; 81*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 82*1537cf73SEmmanuel Vadot }; 83*1537cf73SEmmanuel Vadot 84*1537cf73SEmmanuel Vadot serial0_bus: serial0-bus-pins { 85*1537cf73SEmmanuel Vadot samsung,pins = "gpf4-4", "gpf4-5"; 86*1537cf73SEmmanuel Vadot samsung,pin-function = <ARTPEC_PIN_FUNC_2>; 87*1537cf73SEmmanuel Vadot samsung,pin-pud = <ARTPEC_PIN_PULL_UP>; 88*1537cf73SEmmanuel Vadot samsung,pin-drv = <ARTPEC_PIN_DRV_SR3>; 89*1537cf73SEmmanuel Vadot }; 90*1537cf73SEmmanuel Vadot}; 91*1537cf73SEmmanuel Vadot 92*1537cf73SEmmanuel Vadot&pinctrl_peric { 93*1537cf73SEmmanuel Vadot gpa0: gpa0-gpio-bank { 94*1537cf73SEmmanuel Vadot gpio-controller; 95*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 96*1537cf73SEmmanuel Vadot interrupt-controller; 97*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 98*1537cf73SEmmanuel Vadot }; 99*1537cf73SEmmanuel Vadot 100*1537cf73SEmmanuel Vadot gpa1: gpa1-gpio-bank { 101*1537cf73SEmmanuel Vadot gpio-controller; 102*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 103*1537cf73SEmmanuel Vadot interrupt-controller; 104*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 105*1537cf73SEmmanuel Vadot }; 106*1537cf73SEmmanuel Vadot 107*1537cf73SEmmanuel Vadot gpa2: gpa2-gpio-bank { 108*1537cf73SEmmanuel Vadot gpio-controller; 109*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 110*1537cf73SEmmanuel Vadot interrupt-controller; 111*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 112*1537cf73SEmmanuel Vadot }; 113*1537cf73SEmmanuel Vadot 114*1537cf73SEmmanuel Vadot gpk0: gpk0-gpio-bank { 115*1537cf73SEmmanuel Vadot gpio-controller; 116*1537cf73SEmmanuel Vadot #gpio-cells = <2>; 117*1537cf73SEmmanuel Vadot interrupt-controller; 118*1537cf73SEmmanuel Vadot #interrupt-cells = <2>; 119*1537cf73SEmmanuel Vadot }; 120*1537cf73SEmmanuel Vadot}; 121