Skip to content

Commit c1362fd

Browse files
committed
Merge patch series "Add Sipeed Lichee Pi 4A RISC-V board support"
Jisheng Zhang <jszhang@kernel.org> says: Sipeed's Lichee Pi 4A development board uses Lichee Module 4A core module which is powered by T-HEAD's TH1520 SoC. Add minimal device tree files for the core module and the development board. Support basic uart/gpio/dmac drivers, so supports booting to a basic shell. This also pulls in -rc2, because of some maintainers re-jigging that went on in the interim in commit 80e62bc ("MAINTAINERS: re-sort all entries and fields"). Link: https://lore.kernel.org/r/20230617161529.2092-1-jszhang@kernel.org Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
2 parents e2c510d + 318afa0 commit c1362fd

202 files changed

Lines changed: 3449 additions & 2031 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/block/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Block
1818
kyber-iosched
1919
null_blk
2020
pr
21-
request
2221
stat
2322
switching-sched
2423
writeback_cache_control

Documentation/block/request.rst

Lines changed: 0 additions & 99 deletions
This file was deleted.

Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ properties:
6565
- items:
6666
- enum:
6767
- allwinner,sun20i-d1-plic
68+
- thead,th1520-plic
6869
- const: thead,c900-plic
6970
- items:
7071
- const: sifive,plic-1.0.0

Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ properties:
4949

5050
properties:
5151
data-lanes:
52+
minItems: 1
5253
maxItems: 2
5354

5455
required:

Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,11 @@ description:
1717
properties:
1818
clocks:
1919
minItems: 3
20-
items:
21-
- description: PCIe bridge clock.
22-
- description: PCIe bus clock.
23-
- description: PCIe PHY clock.
24-
- description: Additional required clock entry for imx6sx-pcie,
25-
imx6sx-pcie-ep, imx8mq-pcie, imx8mq-pcie-ep.
20+
maxItems: 4
2621

2722
clock-names:
2823
minItems: 3
29-
items:
30-
- const: pcie
31-
- const: pcie_bus
32-
- enum: [ pcie_phy, pcie_aux ]
33-
- enum: [ pcie_inbound_axi, pcie_aux ]
24+
maxItems: 4
3425

3526
num-lanes:
3627
const: 1

Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@ properties:
3131
- const: dbi
3232
- const: addr_space
3333

34+
clocks:
35+
minItems: 3
36+
items:
37+
- description: PCIe bridge clock.
38+
- description: PCIe bus clock.
39+
- description: PCIe PHY clock.
40+
- description: Additional required clock entry for imx6sx-pcie,
41+
imx6sx-pcie-ep, imx8mq-pcie, imx8mq-pcie-ep.
42+
43+
clock-names:
44+
minItems: 3
45+
maxItems: 4
46+
3447
interrupts:
3548
items:
3649
- description: builtin eDMA interrupter.
@@ -49,6 +62,31 @@ required:
4962
allOf:
5063
- $ref: /schemas/pci/snps,dw-pcie-ep.yaml#
5164
- $ref: /schemas/pci/fsl,imx6q-pcie-common.yaml#
65+
- if:
66+
properties:
67+
compatible:
68+
enum:
69+
- fsl,imx8mq-pcie-ep
70+
then:
71+
properties:
72+
clocks:
73+
minItems: 4
74+
clock-names:
75+
items:
76+
- const: pcie
77+
- const: pcie_bus
78+
- const: pcie_phy
79+
- const: pcie_aux
80+
else:
81+
properties:
82+
clocks:
83+
maxItems: 3
84+
clock-names:
85+
items:
86+
- const: pcie
87+
- const: pcie_bus
88+
- const: pcie_aux
89+
5290

5391
unevaluatedProperties: false
5492

Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,19 @@ properties:
4040
- const: dbi
4141
- const: config
4242

43+
clocks:
44+
minItems: 3
45+
items:
46+
- description: PCIe bridge clock.
47+
- description: PCIe bus clock.
48+
- description: PCIe PHY clock.
49+
- description: Additional required clock entry for imx6sx-pcie,
50+
imx6sx-pcie-ep, imx8mq-pcie, imx8mq-pcie-ep.
51+
52+
clock-names:
53+
minItems: 3
54+
maxItems: 4
55+
4356
interrupts:
4457
items:
4558
- description: builtin MSI controller.
@@ -77,6 +90,70 @@ required:
7790
allOf:
7891
- $ref: /schemas/pci/snps,dw-pcie.yaml#
7992
- $ref: /schemas/pci/fsl,imx6q-pcie-common.yaml#
93+
- if:
94+
properties:
95+
compatible:
96+
enum:
97+
- fsl,imx6sx-pcie
98+
then:
99+
properties:
100+
clocks:
101+
minItems: 4
102+
clock-names:
103+
items:
104+
- const: pcie
105+
- const: pcie_bus
106+
- const: pcie_phy
107+
- const: pcie_inbound_axi
108+
109+
- if:
110+
properties:
111+
compatible:
112+
enum:
113+
- fsl,imx8mq-pcie
114+
then:
115+
properties:
116+
clocks:
117+
minItems: 4
118+
clock-names:
119+
items:
120+
- const: pcie
121+
- const: pcie_bus
122+
- const: pcie_phy
123+
- const: pcie_aux
124+
125+
- if:
126+
properties:
127+
compatible:
128+
enum:
129+
- fsl,imx6q-pcie
130+
- fsl,imx6qp-pcie
131+
- fsl,imx7d-pcie
132+
then:
133+
properties:
134+
clocks:
135+
maxItems: 3
136+
clock-names:
137+
items:
138+
- const: pcie
139+
- const: pcie_bus
140+
- const: pcie_phy
141+
142+
- if:
143+
properties:
144+
compatible:
145+
enum:
146+
- fsl,imx8mm-pcie
147+
- fsl,imx8mp-pcie
148+
then:
149+
properties:
150+
clocks:
151+
maxItems: 3
152+
clock-names:
153+
items:
154+
- const: pcie
155+
- const: pcie_bus
156+
- const: pcie_aux
80157

81158
unevaluatedProperties: false
82159

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/riscv/thead.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: T-HEAD SoC-based boards
8+
9+
maintainers:
10+
- Jisheng Zhang <jszhang@kernel.org>
11+
12+
description:
13+
T-HEAD SoC-based boards
14+
15+
properties:
16+
$nodename:
17+
const: '/'
18+
compatible:
19+
oneOf:
20+
- description: Sipeed Lichee Pi 4A board for the Sipeed Lichee Module 4A
21+
items:
22+
- enum:
23+
- sipeed,lichee-pi-4a
24+
- const: sipeed,lichee-module-4a
25+
- const: thead,th1520
26+
27+
additionalProperties: true
28+
29+
...

Documentation/devicetree/bindings/timer/sifive,clint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ properties:
3737
- items:
3838
- enum:
3939
- allwinner,sun20i-d1-clint
40+
- thead,th1520-clint
4041
- const: thead,c900-clint
4142
- items:
4243
- const: sifive,clint0

Documentation/networking/bonding.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -776,10 +776,11 @@ peer_notif_delay
776776
Specify the delay, in milliseconds, between each peer
777777
notification (gratuitous ARP and unsolicited IPv6 Neighbor
778778
Advertisement) when they are issued after a failover event.
779-
This delay should be a multiple of the link monitor interval
780-
(arp_interval or miimon, whichever is active). The default
781-
value is 0 which means to match the value of the link monitor
782-
interval.
779+
This delay should be a multiple of the MII link monitor interval
780+
(miimon).
781+
782+
The valid range is 0 - 300000. The default value is 0, which means
783+
to match the value of the MII link monitor interval.
783784

784785
prio
785786
Slave priority. A higher number means higher priority.

0 commit comments

Comments
 (0)