soc: wch: Add packages for the ch32v303
Add the different packages of the CH32V303 Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
This commit is contained in:
parent
de0ef827cd
commit
798dc5c976
@ -5,7 +5,7 @@
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <wch/ch32v303/ch32v303.dtsi>
|
||||
#include <wch/ch32v303/ch32v303vct.dtsi>
|
||||
#include <zephyr/dt-bindings/gpio/gpio.h>
|
||||
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
||||
#include "ch32v303vct6_evt-pinctrl.dtsi"
|
||||
|
||||
19
dts/riscv/wch/ch32v303/ch32v303cbt.dtsi
Normal file
19
dts/riscv/wch/ch32v303/ch32v303cbt.dtsi
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Bootlin
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <wch/ch32v303/ch32v303.dtsi>
|
||||
|
||||
&gpioc {
|
||||
gpio-reserved-ranges = <0 13>;
|
||||
};
|
||||
|
||||
&gpiod {
|
||||
gpio-reserved-ranges = <2 14>;
|
||||
};
|
||||
|
||||
&gpioe {
|
||||
gpio-reserved-ranges = <0 16>;
|
||||
};
|
||||
15
dts/riscv/wch/ch32v303/ch32v303rbt.dtsi
Normal file
15
dts/riscv/wch/ch32v303/ch32v303rbt.dtsi
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Bootlin
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <wch/ch32v303/ch32v303.dtsi>
|
||||
|
||||
&gpiod {
|
||||
gpio-reserved-ranges = <3 13>;
|
||||
};
|
||||
|
||||
&gpioe {
|
||||
gpio-reserved-ranges = <0 16>;
|
||||
};
|
||||
15
dts/riscv/wch/ch32v303/ch32v303rct.dtsi
Normal file
15
dts/riscv/wch/ch32v303/ch32v303rct.dtsi
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Bootlin
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <wch/ch32v303/ch32v303.dtsi>
|
||||
|
||||
&gpiod {
|
||||
gpio-reserved-ranges = <3 13>;
|
||||
};
|
||||
|
||||
&gpioe {
|
||||
gpio-reserved-ranges = <0 16>;
|
||||
};
|
||||
11
dts/riscv/wch/ch32v303/ch32v303vct.dtsi
Normal file
11
dts/riscv/wch/ch32v303/ch32v303vct.dtsi
Normal file
@ -0,0 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Bootlin
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <wch/ch32v303/ch32v303.dtsi>
|
||||
|
||||
&gpioc {
|
||||
gpio-reserved-ranges = <0 3>, <14 2>;
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user