1/* 2 * Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <st/c0/stm32c0.dtsi> 8 9/ { 10 soc { 11 compatible = "st,stm32c031", "st,stm32c0", "simple-bus"; 12 13 pinctrl: pin-controller@50000000 { 14 gpiod: gpio@50000c00 { 15 compatible = "st,stm32-gpio"; 16 gpio-controller; 17 #gpio-cells = <2>; 18 reg = <0x50000c00 0x400>; 19 clocks = <&rcc STM32_CLOCK_BUS_IOP 0x00000008>; 20 }; 21 }; 22 }; 23}; 24