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