dts: stm32f103: add missing dts binding for port G
STM32F103 micros starting from 64-pin (xE) packages upward have available port G. This patch defines a dts binding for them. Signed-off-by: Pavel Kral <pavel.kral@omsquare.com>
This commit is contained in:
parent
704a64fea4
commit
86a4967365
2 changed files with 18 additions and 0 deletions
|
@ -98,6 +98,15 @@
|
|||
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000081>;
|
||||
label = "GPIOF";
|
||||
};
|
||||
|
||||
gpiog: gpio@40012000 {
|
||||
compatible = "st,stm32-gpio";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
reg = <0x40012000 0x400>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000101>;
|
||||
label = "GPIOG";
|
||||
};
|
||||
};
|
||||
|
||||
timers8: timers@40013400 {
|
||||
|
|
|
@ -56,6 +56,15 @@
|
|||
#define CONFIG_GPIO_STM32_GPIOF_CLOCK_BITS ST_STM32_GPIO_40011C00_CLOCK_BITS
|
||||
#define CONFIG_GPIO_STM32_GPIOF_CLOCK_BUS ST_STM32_GPIO_40011C00_CLOCK_BUS
|
||||
|
||||
#define CONFIG_GPIO_STM32_GPIOG_BASE_ADDRESS ST_STM32_GPIO_40012000_BASE_ADDRESS
|
||||
#define CONFIG_GPIO_STM32_GPIOG_CLOCK_BITS_0 ST_STM32_GPIO_40012000_CLOCK_BITS_0
|
||||
#define CONFIG_GPIO_STM32_GPIOG_CLOCK_BUS_0 ST_STM32_GPIO_40012000_CLOCK_BUS_0
|
||||
#define CONFIG_GPIO_STM32_GPIOG_CLOCK_CONTROLLER ST_STM32_GPIO_40012000_CLOCK_CONTROLLER
|
||||
#define CONFIG_GPIO_STM32_GPIOG_LABEL ST_STM32_GPIO_40012000_LABEL
|
||||
#define CONFIG_GPIO_STM32_GPIOG_SIZE ST_STM32_GPIO_40012000_SIZE
|
||||
#define CONFIG_GPIO_STM32_GPIOG_CLOCK_BITS ST_STM32_GPIO_40012000_CLOCK_BITS
|
||||
#define CONFIG_GPIO_STM32_GPIOG_CLOCK_BUS ST_STM32_GPIO_40012000_CLOCK_BUS
|
||||
|
||||
#define CONFIG_UART_STM32_USART_1_BASE_ADDRESS ST_STM32_USART_40013800_BASE_ADDRESS
|
||||
#define CONFIG_UART_STM32_USART_1_BAUD_RATE ST_STM32_USART_40013800_CURRENT_SPEED
|
||||
#define CONFIG_UART_STM32_USART_1_IRQ_PRI ST_STM32_USART_40013800_IRQ_0_PRIORITY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue