1/* 2 * Copyright (c) 2019 Benjamin Valentin 3 * Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com> 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8#include <atmel/samd21.dtsi> 9 10/ { 11 aliases { 12 port-c = &portc; 13 }; 14 15 soc { 16 pinctrl: pinctrl@41004400 { 17 ranges = <0x41004400 0x41004400 0x180>; 18 19 portc: gpio@41004500 { 20 compatible = "atmel,sam0-gpio"; 21 reg = <0x41004500 0x80>; 22 23 #atmel,pin-cells = <2>; 24 #gpio-cells = <2>; 25 26 gpio-controller; 27 }; 28 }; 29 30 pinmux_c: pinmux@41004500 { 31 compatible = "atmel,sam0-pinmux"; 32 reg = <0x41004500 0x80>; 33 }; 34 }; 35}; 36