summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2020-05-12 15:45:43 -0500
committerRob Herring <robh@kernel.org>2020-05-14 14:43:27 -0500
commitfba5618451d2b3af5e55f8af5ce9c5d3677ad9c4 (patch)
treeeb7b2e3f31c660bb1a332028319639a80a4e062b /Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.yaml
parent1195b303a661f1dcfc5f97b6504d7d22a46289bc (diff)
downloadlinux-fba5618451d2b3af5e55f8af5ce9c5d3677ad9c4.tar.bz2
dt-bindings: Fix incorrect 'reg' property sizes
The examples template is a 'simple-bus' with a size of 1 cell for had between 2 and 4 cells which really only errors on I2C or SPI type devices with a single cell. The easiest fix in most cases is to change the 'reg' property to for 1 cell address and size. In some cases with child devices having 2 cells, that doesn't make sense so a bus node is needed. Acked-by: Stephen Boyd <sboyd@kernel.org> # clk Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.yaml')
-rw-r--r--Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.yaml b/Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.yaml
index 8559fe8f7efd..228c9313df53 100644
--- a/Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.yaml
+++ b/Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.yaml
@@ -65,7 +65,7 @@ examples:
- |
uart0: serial@58018000 {
compatible = "snps,dw-apb-uart";
- reg = <0x0 0x58018000 0x0 0x2000>;
+ reg = <0x58018000 0x2000>;
clocks = <&clk 45>, <&clk 46>;
clock-names = "baudclk", "apb_pclk";
interrupts = <0 9 4>;