8560b8ee8810fffc785447617e5c40ecd5ce388a
[openwrt/staging/svanheule.git] /
1 From 72b1c5da796ec5266f2012c36470e226cb4f09c9 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Thu, 30 Dec 2021 12:05:35 +0100
4 Subject: [PATCH] arm64: dts: broadcom: bcm4908: add pinctrl binding
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Describe pinmux block with its maps.
10
11 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
12 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
13 ---
14 .../boot/dts/broadcom/bcm4908/bcm4908.dtsi | 135 ++++++++++++++++++
15 1 file changed, 135 insertions(+)
16
17 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
18 +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
19 @@ -289,6 +289,141 @@
20 gpio-controller;
21 };
22
23 + pinctrl@560 {
24 + compatible = "brcm,bcm4908-pinctrl";
25 + reg = <0x560 0x10>;
26 +
27 + pins_led_0_a: led_0-a-pins {
28 + function = "led_0";
29 + groups = "led_0_grp_a";
30 + };
31 +
32 + pins_led_1_a: led_1-a-pins {
33 + function = "led_1";
34 + groups = "led_1_grp_a";
35 + };
36 +
37 + pins_led_2_a: led_2-a-pins {
38 + function = "led_2";
39 + groups = "led_2_grp_a";
40 + };
41 +
42 + pins_led_3_a: led_3-a-pins {
43 + function = "led_3";
44 + groups = "led_3_grp_a";
45 + };
46 +
47 + pins_led_4_a: led_4-a-pins {
48 + function = "led_4";
49 + groups = "led_4_grp_a";
50 + };
51 +
52 + pins_led_5_a: led_5-a-pins {
53 + function = "led_5";
54 + groups = "led_5_grp_a";
55 + };
56 +
57 + pins_led_6_a: led_6-a-pins {
58 + function = "led_6";
59 + groups = "led_6_grp_a";
60 + };
61 +
62 + pins_led_7_a: led_7-a-pins {
63 + function = "led_7";
64 + groups = "led_7_grp_a";
65 + };
66 +
67 + pins_led_8_a: led_8-a-pins {
68 + function = "led_8";
69 + groups = "led_8_grp_a";
70 + };
71 +
72 + pins_led_9_a: led_9-a-pins {
73 + function = "led_9";
74 + groups = "led_9_grp_a";
75 + };
76 +
77 + pins_led_21_a: led_21-a-pins {
78 + function = "led_21";
79 + groups = "led_21_grp_a";
80 + };
81 +
82 + pins_led_22_a: led_22-a-pins {
83 + function = "led_22";
84 + groups = "led_22_grp_a";
85 + };
86 +
87 + pins_led_26_a: led_26-a-pins {
88 + function = "led_26";
89 + groups = "led_26_grp_a";
90 + };
91 +
92 + pins_led_27_a: led_27-a-pins {
93 + function = "led_27";
94 + groups = "led_27_grp_a";
95 + };
96 +
97 + pins_led_28_a: led_28-a-pins {
98 + function = "led_28";
99 + groups = "led_28_grp_a";
100 + };
101 +
102 + pins_led_29_a: led_29-a-pins {
103 + function = "led_29";
104 + groups = "led_29_grp_a";
105 + };
106 +
107 + pins_led_30_a: led_30-a-pins {
108 + function = "led_30";
109 + groups = "led_30_grp_a";
110 + };
111 +
112 + pins_hs_uart: hs_uart-pins {
113 + function = "hs_uart";
114 + groups = "hs_uart_grp";
115 + };
116 +
117 + pins_i2c_a: i2c-a-pins {
118 + function = "i2c";
119 + groups = "i2c_grp_a";
120 + };
121 +
122 + pins_i2c_b: i2c-b-pins {
123 + function = "i2c";
124 + groups = "i2c_grp_b";
125 + };
126 +
127 + pins_i2s: i2s-pins {
128 + function = "i2s";
129 + groups = "i2s_grp";
130 + };
131 +
132 + pins_nand_ctrl: nand_ctrl-pins {
133 + function = "nand_ctrl";
134 + groups = "nand_ctrl_grp";
135 + };
136 +
137 + pins_nand_data: nand_data-pins {
138 + function = "nand_data";
139 + groups = "nand_data_grp";
140 + };
141 +
142 + pins_emmc_ctrl: emmc_ctrl-pins {
143 + function = "emmc_ctrl";
144 + groups = "emmc_ctrl_grp";
145 + };
146 +
147 + pins_usb0_pwr: usb0_pwr-pins {
148 + function = "usb0_pwr";
149 + groups = "usb0_pwr_grp";
150 + };
151 +
152 + pins_usb1_pwr: usb1_pwr-pins {
153 + function = "usb1_pwr";
154 + groups = "usb1_pwr_grp";
155 + };
156 + };
157 +
158 uart0: serial@640 {
159 compatible = "brcm,bcm6345-uart";
160 reg = <0x640 0x18>;