File tree Expand file tree Collapse file tree 5 files changed +43
-41
lines changed
arm/microchip/pic32c/pic32cm_jh/common Expand file tree Collapse file tree 5 files changed +43
-41
lines changed Original file line number Diff line number Diff line change 38
38
compatible = "mmio-sram";
39
39
};
40
40
41
- porta: gpio@41000000 {
42
- compatible = "microchip,port-g1-gpio";
43
- reg = <0x41000000 0x80>;
44
- gpio-controller;
45
- #gpio-cells = <2>;
46
- #microchip,pin-cells = <2>;
41
+ pinctrl: pinctrl@41000000 {
42
+ compatible = "microchip,port-g1-pinctrl";
43
+ #address-cells = <1>;
44
+ #size-cells = <1>;
45
+ ranges = <0x41000000 0x41000000 0x180>;
46
+
47
+ porta: gpio@41000000 {
48
+ compatible = "microchip,port-g1-gpio";
49
+ reg = <0x41000000 0x80>;
50
+ gpio-controller;
51
+ #gpio-cells = <2>;
52
+ #microchip,pin-cells = <2>;
53
+ };
47
54
};
48
55
};
49
56
};
Original file line number Diff line number Diff line change 8
8
9
9
#include <microchip/pic32c/pic32cm_jh/common/pic32cm_jh.dtsi>
10
10
11
- / {
12
- soc {
13
- portb: gpio@41000080 {
14
- compatible = "microchip,port-g1-gpio";
15
- reg = <0x41000080 0x80>;
16
- gpio-controller;
17
- #gpio-cells = <2>;
18
- #microchip,pin-cells = <2>;
19
- };
11
+ &pinctrl {
12
+ portb: gpio@41000080 {
13
+ compatible = "microchip,port-g1-gpio";
14
+ reg = <0x41000080 0x80>;
15
+ gpio-controller;
16
+ #gpio-cells = <2>;
17
+ #microchip,pin-cells = <2>;
18
+ };
20
19
21
- portc: gpio@41000100 {
22
- compatible = "microchip,port-g1-gpio";
23
- reg = <0x41000100 0x80>;
24
- gpio-controller;
25
- #gpio-cells = <2>;
26
- #microchip,pin-cells = <2>;
27
- };
20
+ portc: gpio@41000100 {
21
+ compatible = "microchip,port-g1-gpio";
22
+ reg = <0x41000100 0x80>;
23
+ gpio-controller;
24
+ #gpio-cells = <2>;
25
+ #microchip,pin-cells = <2>;
28
26
};
29
27
};
Original file line number Diff line number Diff line change 8
8
9
9
#include <microchip/pic32c/pic32cm_jh/common/pic32cm_jh.dtsi>
10
10
11
- / {
12
- soc {
13
- portb: gpio@41000080 {
14
- compatible = "microchip,port-g1-gpio";
15
- reg = <0x41000080 0x80>;
16
- gpio-controller;
17
- #gpio-cells = <2>;
18
- #microchip,pin-cells = <2>;
19
- };
11
+ &pinctrl {
12
+ portb: gpio@41000080 {
13
+ compatible = "microchip,port-g1-gpio";
14
+ reg = <0x41000080 0x80>;
15
+ gpio-controller;
16
+ #gpio-cells = <2>;
17
+ #microchip,pin-cells = <2>;
20
18
};
21
19
};
Original file line number Diff line number Diff line change 8
8
9
9
#include <microchip/pic32c/pic32cm_jh/common/pic32cm_jh.dtsi>
10
10
11
- / {
12
- soc {
13
- portb: gpio@41000080 {
14
- compatible = "microchip,port-g1-gpio";
15
- reg = <0x41000080 0x80>;
16
- gpio-controller;
17
- #gpio-cells = <2>;
18
- #microchip,pin-cells = <2>;
19
- };
11
+ &pinctrl {
12
+ portb: gpio@41000080 {
13
+ compatible = "microchip,port-g1-gpio";
14
+ reg = <0x41000080 0x80>;
15
+ gpio-controller;
16
+ #gpio-cells = <2>;
17
+ #microchip,pin-cells = <2>;
20
18
};
21
19
};
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ description: |
13
13
14
14
Group g1 PORT PINCTRL driver supports following hardware peripherals:
15
15
- module name="PORT" id="U2210" version="2.2.0"
16
+ - module name="PORT" id="U2210" version="3.1.0"
16
17
17
18
The node has the 'pinctrl' node label set in your SoC's devicetree, so you can
18
19
modify it like this:
@@ -112,7 +113,7 @@ child-binding:
112
113
description : |
113
114
An array of pins sharing the same group properties. The pins should
114
115
be defined using pre-defined macros or, alternatively, using the
115
- SAM_PINMUX utility macros depending on the pinmux model used by the
116
+ MCHP_PINMUX utility macros depending on the pinmux model used by the
116
117
SoC series.
117
118
drive-strength :
118
119
enum :
You can’t perform that action at this time.
0 commit comments