Skip to content

Commit e0ca880

Browse files
VynDragonkartben
authored andcommitted
dts: bflb: Fix GPIO node for bl61x
makes gpio driver work for bl61x Signed-off-by: Camille BAUD <[email protected]>
1 parent ec1e05c commit e0ca880

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dts/riscv/bflb/bl61x.dtsi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#include <dt-bindings/pinctrl/bflb-common-pinctrl.h>
1010
#include <dt-bindings/pinctrl/bl61x-pinctrl.h>
1111
#include <dt-bindings/clock/bflb_bl61x_clock.h>
12+
#include <zephyr/dt-bindings/gpio/gpio.h>
13+
#include <zephyr/dt-bindings/input/input-event-codes.h>
1214

1315
/ {
1416
#address-cells = <1>;
@@ -115,7 +117,7 @@
115117
status = "okay";
116118

117119
gpio0: gpio@20000000 {
118-
compatible = "bflb,gpio";
120+
compatible = "bflb,bl61x-gpio";
119121
reg = <0x20000000 0x1000>;
120122
#gpio-cells = <2>;
121123
#bflb,pin-cells = <2>;

0 commit comments

Comments
 (0)