dt-bindings: change the macro name of prci in header files and example

We currently change the macro name for fu540 and fu740 by adding the
prefix respectively, the dt-bindings should be modified as well.

Signed-off-by: Zong Li <zong.li@sifive.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/r/f9284873c2993a9952d9fe4f8dd5e89f20daab75.1646388139.git.zong.li@sifive.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Zong Li and committed by
Stephen Boyd
0493692b e83da8e2

+16 -16
+1 -1
Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
··· 80 80 interrupts = <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>, <15>, <16>, 81 81 <17>, <18>, <19>, <20>, <21>, <22>; 82 82 reg = <0x10060000 0x1000>; 83 - clocks = <&tlclk PRCI_CLK_TLCLK>; 83 + clocks = <&tlclk FU540_PRCI_CLK_TLCLK>; 84 84 gpio-controller; 85 85 #gpio-cells = <2>; 86 86 interrupt-controller;
+1 -1
Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml
··· 104 104 <0x0 0x0 0x0 0x2 &plic0 58>, 105 105 <0x0 0x0 0x0 0x3 &plic0 59>, 106 106 <0x0 0x0 0x0 0x4 &plic0 60>; 107 - clocks = <&prci PRCI_CLK_PCIE_AUX>; 107 + clocks = <&prci FU740_PRCI_CLK_PCIE_AUX>; 108 108 resets = <&prci 4>; 109 109 pwren-gpios = <&gpio 5 0>; 110 110 reset-gpios = <&gpio 8 0>;
+1 -1
Documentation/devicetree/bindings/serial/sifive-serial.yaml
··· 59 59 interrupt-parent = <&plic0>; 60 60 interrupts = <80>; 61 61 reg = <0x10010000 0x1000>; 62 - clocks = <&prci PRCI_CLK_TLCLK>; 62 + clocks = <&prci FU540_PRCI_CLK_TLCLK>; 63 63 }; 64 64 65 65 ...
+4 -4
include/dt-bindings/clock/sifive-fu540-prci.h
··· 10 10 11 11 /* Clock indexes for use by Device Tree data and the PRCI driver */ 12 12 13 - #define PRCI_CLK_COREPLL 0 14 - #define PRCI_CLK_DDRPLL 1 15 - #define PRCI_CLK_GEMGXLPLL 2 16 - #define PRCI_CLK_TLCLK 3 13 + #define FU540_PRCI_CLK_COREPLL 0 14 + #define FU540_PRCI_CLK_DDRPLL 1 15 + #define FU540_PRCI_CLK_GEMGXLPLL 2 16 + #define FU540_PRCI_CLK_TLCLK 3 17 17 18 18 #endif
+9 -9
include/dt-bindings/clock/sifive-fu740-prci.h
··· 11 11 12 12 /* Clock indexes for use by Device Tree data and the PRCI driver */ 13 13 14 - #define PRCI_CLK_COREPLL 0 15 - #define PRCI_CLK_DDRPLL 1 16 - #define PRCI_CLK_GEMGXLPLL 2 17 - #define PRCI_CLK_DVFSCOREPLL 3 18 - #define PRCI_CLK_HFPCLKPLL 4 19 - #define PRCI_CLK_CLTXPLL 5 20 - #define PRCI_CLK_TLCLK 6 21 - #define PRCI_CLK_PCLK 7 22 - #define PRCI_CLK_PCIE_AUX 8 14 + #define FU740_PRCI_CLK_COREPLL 0 15 + #define FU740_PRCI_CLK_DDRPLL 1 16 + #define FU740_PRCI_CLK_GEMGXLPLL 2 17 + #define FU740_PRCI_CLK_DVFSCOREPLL 3 18 + #define FU740_PRCI_CLK_HFPCLKPLL 4 19 + #define FU740_PRCI_CLK_CLTXPLL 5 20 + #define FU740_PRCI_CLK_TLCLK 6 21 + #define FU740_PRCI_CLK_PCLK 7 22 + #define FU740_PRCI_CLK_PCIE_AUX 8 23 23 24 24 #endif /* __DT_BINDINGS_CLOCK_SIFIVE_FU740_PRCI_H */