Skip to content

Commit e5384cf

Browse files
VynDragonhenrikbrixandersen
authored andcommitted
dts: bflb: Update GPIO nodes for bl70x and bl60x
Rename node to reflect specificity, remove unused Signed-off-by: Camille BAUD <[email protected]>
1 parent 84de5b8 commit e5384cf

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

dts/bindings/gpio/bflb,gpio.yaml renamed to dts/bindings/gpio/bflb,bl60x_70x-gpio.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
description: Bouffalo Lab GPIO node
5+
description: Bouffalo Lab BL60x and BL70x GPIO node
66

7-
compatible: "bflb,gpio"
7+
compatible: "bflb,bl60x_70x-gpio"
88

99
include:
1010
- name: base.yaml
@@ -20,16 +20,6 @@ properties:
2020
"#gpio-cells":
2121
const: 2
2222

23-
"#bflb,pin-cells":
24-
type: int
25-
required: true
26-
const: 2
27-
description: Number of items to expect in a bflb,pins specifier
28-
2923
gpio-cells:
3024
- pin
3125
- flags
32-
33-
bflb,pin-cells:
34-
- pin
35-
- peripheral

dts/riscv/bflb/bl60x.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,9 @@
112112
status = "okay";
113113

114114
gpio0: gpio@40000000 {
115-
compatible = "bflb,gpio";
115+
compatible = "bflb,bl60x_70x-gpio";
116116
reg = <0x40000000 0x1000>;
117117
#gpio-cells = <2>;
118-
#bflb,pin-cells = <2>;
119118
status = "disabled";
120119

121120
gpio-controller;

dts/riscv/bflb/bl70x.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,9 @@
117117
status = "okay";
118118

119119
gpio0: gpio@40000000 {
120-
compatible = "bflb,gpio";
120+
compatible = "bflb,bl60x_70x-gpio";
121121
reg = <0x40000000 0x1000>;
122122
#gpio-cells = <2>;
123-
#bflb,pin-cells = <2>;
124123
status = "disabled";
125124

126125
gpio-controller;

0 commit comments

Comments
 (0)