diff --git a/boards/wch/ch32v303vct6_evt/ch32v303vct6_evt.dts b/boards/wch/ch32v303vct6_evt/ch32v303vct6_evt.dts index 39c1bbf1c73..37e3a893e94 100644 --- a/boards/wch/ch32v303vct6_evt/ch32v303vct6_evt.dts +++ b/boards/wch/ch32v303vct6_evt/ch32v303vct6_evt.dts @@ -5,7 +5,7 @@ /dts-v1/; -#include +#include #include #include #include "ch32v303vct6_evt-pinctrl.dtsi" diff --git a/dts/riscv/wch/ch32v303/ch32v303cbt.dtsi b/dts/riscv/wch/ch32v303/ch32v303cbt.dtsi new file mode 100644 index 00000000000..52bab0e7630 --- /dev/null +++ b/dts/riscv/wch/ch32v303/ch32v303cbt.dtsi @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2025 Bootlin + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +&gpioc { + gpio-reserved-ranges = <0 13>; +}; + +&gpiod { + gpio-reserved-ranges = <2 14>; +}; + +&gpioe { + gpio-reserved-ranges = <0 16>; +}; diff --git a/dts/riscv/wch/ch32v303/ch32v303rbt.dtsi b/dts/riscv/wch/ch32v303/ch32v303rbt.dtsi new file mode 100644 index 00000000000..0afd98693b8 --- /dev/null +++ b/dts/riscv/wch/ch32v303/ch32v303rbt.dtsi @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2025 Bootlin + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +&gpiod { + gpio-reserved-ranges = <3 13>; +}; + +&gpioe { + gpio-reserved-ranges = <0 16>; +}; diff --git a/dts/riscv/wch/ch32v303/ch32v303rct.dtsi b/dts/riscv/wch/ch32v303/ch32v303rct.dtsi new file mode 100644 index 00000000000..0afd98693b8 --- /dev/null +++ b/dts/riscv/wch/ch32v303/ch32v303rct.dtsi @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2025 Bootlin + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +&gpiod { + gpio-reserved-ranges = <3 13>; +}; + +&gpioe { + gpio-reserved-ranges = <0 16>; +}; diff --git a/dts/riscv/wch/ch32v303/ch32v303vct.dtsi b/dts/riscv/wch/ch32v303/ch32v303vct.dtsi new file mode 100644 index 00000000000..5159178ad82 --- /dev/null +++ b/dts/riscv/wch/ch32v303/ch32v303vct.dtsi @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2025 Bootlin + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +&gpioc { + gpio-reserved-ranges = <0 3>, <14 2>; +};