Commit fba56184 authored by Rob Herring's avatar Rob Herring

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 1195b303
...@@ -295,7 +295,7 @@ examples: ...@@ -295,7 +295,7 @@ examples:
- | - |
cti@20110000 { cti@20110000 {
compatible = "arm,coresight-cti", "arm,primecell"; compatible = "arm,coresight-cti", "arm,primecell";
reg = <0 0x20110000 0 0x1000>; reg = <0x20110000 0x1000>;
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
......
...@@ -33,5 +33,5 @@ examples: ...@@ -33,5 +33,5 @@ examples:
- | - |
prr: chipid@ff000044 { prr: chipid@ff000044 {
compatible = "renesas,prr"; compatible = "renesas,prr";
reg = <0 0xff000044 0 4>; reg = <0xff000044 4>;
}; };
...@@ -323,7 +323,7 @@ examples: ...@@ -323,7 +323,7 @@ examples:
tegra_pmc: pmc@7000e400 { tegra_pmc: pmc@7000e400 {
compatible = "nvidia,tegra210-pmc"; compatible = "nvidia,tegra210-pmc";
reg = <0x0 0x7000e400 0x0 0x400>; reg = <0x7000e400 0x400>;
clocks = <&tegra_car TEGRA210_CLK_PCLK>, <&clk32k_in>; clocks = <&tegra_car TEGRA210_CLK_PCLK>, <&clk32k_in>;
clock-names = "pclk", "clk32k_in"; clock-names = "pclk", "clk32k_in";
#clock-cells = <1>; #clock-cells = <1>;
......
...@@ -65,7 +65,7 @@ examples: ...@@ -65,7 +65,7 @@ examples:
- | - |
uart0: serial@58018000 { uart0: serial@58018000 {
compatible = "snps,dw-apb-uart"; compatible = "snps,dw-apb-uart";
reg = <0x0 0x58018000 0x0 0x2000>; reg = <0x58018000 0x2000>;
clocks = <&clk 45>, <&clk 46>; clocks = <&clk 45>, <&clk 46>;
clock-names = "baudclk", "apb_pclk"; clock-names = "baudclk", "apb_pclk";
interrupts = <0 9 4>; interrupts = <0 9 4>;
......
...@@ -50,7 +50,7 @@ examples: ...@@ -50,7 +50,7 @@ examples:
- | - |
dpclk: clock-display@f1f0000 { dpclk: clock-display@f1f0000 {
compatible = "fsl,ls1028a-plldig"; compatible = "fsl,ls1028a-plldig";
reg = <0x0 0xf1f0000 0x0 0xffff>; reg = <0xf1f0000 0xffff>;
#clock-cells = <0>; #clock-cells = <0>;
clocks = <&osc_27m>; clocks = <&osc_27m>;
}; };
......
...@@ -65,7 +65,7 @@ examples: ...@@ -65,7 +65,7 @@ examples:
#include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 { clock-controller@100000 {
compatible = "qcom,gcc-sc7180"; compatible = "qcom,gcc-sc7180";
reg = <0 0x00100000 0 0x1f0000>; reg = <0x00100000 0x1f0000>;
clocks = <&rpmhcc RPMH_CXO_CLK>, clocks = <&rpmhcc RPMH_CXO_CLK>,
<&rpmhcc RPMH_CXO_CLK_A>, <&rpmhcc RPMH_CXO_CLK_A>,
<&sleep_clk>; <&sleep_clk>;
......
...@@ -63,7 +63,7 @@ examples: ...@@ -63,7 +63,7 @@ examples:
#include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 { clock-controller@100000 {
compatible = "qcom,gcc-sm8150"; compatible = "qcom,gcc-sm8150";
reg = <0 0x00100000 0 0x1f0000>; reg = <0x00100000 0x1f0000>;
clocks = <&rpmhcc RPMH_CXO_CLK>, clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>; <&sleep_clk>;
clock-names = "bi_tcxo", "sleep_clk"; clock-names = "bi_tcxo", "sleep_clk";
......
...@@ -61,7 +61,7 @@ examples: ...@@ -61,7 +61,7 @@ examples:
#include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 { clock-controller@100000 {
compatible = "qcom,gcc-sm8250"; compatible = "qcom,gcc-sm8250";
reg = <0 0x00100000 0 0x1f0000>; reg = <0x00100000 0x1f0000>;
clocks = <&rpmhcc RPMH_CXO_CLK>, clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>; <&sleep_clk>;
clock-names = "bi_tcxo", "sleep_clk"; clock-names = "bi_tcxo", "sleep_clk";
......
...@@ -66,7 +66,7 @@ examples: ...@@ -66,7 +66,7 @@ examples:
#include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@af00000 { clock-controller@af00000 {
compatible = "qcom,sc7180-dispcc"; compatible = "qcom,sc7180-dispcc";
reg = <0 0x0af00000 0 0x200000>; reg = <0x0af00000 0x200000>;
clocks = <&rpmhcc RPMH_CXO_CLK>, clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_DISP_GPLL0_CLK_SRC>, <&gcc GCC_DISP_GPLL0_CLK_SRC>,
<&dsi_phy 0>, <&dsi_phy 0>,
......
...@@ -60,7 +60,7 @@ examples: ...@@ -60,7 +60,7 @@ examples:
#include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@5090000 { clock-controller@5090000 {
compatible = "qcom,sc7180-gpucc"; compatible = "qcom,sc7180-gpucc";
reg = <0 0x05090000 0 0x9000>; reg = <0x05090000 0x9000>;
clocks = <&rpmhcc RPMH_CXO_CLK>, clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_GPU_GPLL0_CLK_SRC>, <&gcc GCC_GPU_GPLL0_CLK_SRC>,
<&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
......
...@@ -50,7 +50,7 @@ examples: ...@@ -50,7 +50,7 @@ examples:
#include <dt-bindings/clock/qcom,gcc-sc7180.h> #include <dt-bindings/clock/qcom,gcc-sc7180.h>
clock-controller@41a8000 { clock-controller@41a8000 {
compatible = "qcom,sc7180-mss"; compatible = "qcom,sc7180-mss";
reg = <0 0x041a8000 0 0x8000>; reg = <0x041a8000 0x8000>;
clocks = <&gcc GCC_MSS_MFAB_AXIS_CLK>, clocks = <&gcc GCC_MSS_MFAB_AXIS_CLK>,
<&gcc GCC_MSS_NAV_AXI_CLK>, <&gcc GCC_MSS_NAV_AXI_CLK>,
<&gcc GCC_MSS_CFG_AHB_CLK>; <&gcc GCC_MSS_CFG_AHB_CLK>;
......
...@@ -55,7 +55,7 @@ examples: ...@@ -55,7 +55,7 @@ examples:
#include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@ab00000 { clock-controller@ab00000 {
compatible = "qcom,sc7180-videocc"; compatible = "qcom,sc7180-videocc";
reg = <0 0x0ab00000 0 0x10000>; reg = <0x0ab00000 0x10000>;
clocks = <&rpmhcc RPMH_CXO_CLK>; clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "bi_tcxo"; clock-names = "bi_tcxo";
#clock-cells = <1>; #clock-cells = <1>;
......
...@@ -75,7 +75,7 @@ examples: ...@@ -75,7 +75,7 @@ examples:
#include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@af00000 { clock-controller@af00000 {
compatible = "qcom,sdm845-dispcc"; compatible = "qcom,sdm845-dispcc";
reg = <0 0x0af00000 0 0x10000>; reg = <0x0af00000 0x10000>;
clocks = <&rpmhcc RPMH_CXO_CLK>, clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_DISP_GPLL0_CLK_SRC>, <&gcc GCC_DISP_GPLL0_CLK_SRC>,
<&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>, <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
......
...@@ -60,7 +60,7 @@ examples: ...@@ -60,7 +60,7 @@ examples:
#include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@5090000 { clock-controller@5090000 {
compatible = "qcom,sdm845-gpucc"; compatible = "qcom,sdm845-gpucc";
reg = <0 0x05090000 0 0x9000>; reg = <0x05090000 0x9000>;
clocks = <&rpmhcc RPMH_CXO_CLK>, clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_GPU_GPLL0_CLK_SRC>, <&gcc GCC_GPU_GPLL0_CLK_SRC>,
<&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
......
...@@ -55,7 +55,7 @@ examples: ...@@ -55,7 +55,7 @@ examples:
#include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@ab00000 { clock-controller@ab00000 {
compatible = "qcom,sdm845-videocc"; compatible = "qcom,sdm845-videocc";
reg = <0 0x0ab00000 0 0x10000>; reg = <0x0ab00000 0x10000>;
clocks = <&rpmhcc RPMH_CXO_CLK>; clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "bi_tcxo"; clock-names = "bi_tcxo";
#clock-cells = <1>; #clock-cells = <1>;
......
...@@ -76,29 +76,24 @@ examples: ...@@ -76,29 +76,24 @@ examples:
- | - |
ap_clk: clock-controller@21500000 { ap_clk: clock-controller@21500000 {
compatible = "sprd,sc9863a-ap-clk"; compatible = "sprd,sc9863a-ap-clk";
reg = <0 0x21500000 0 0x1000>; reg = <0x21500000 0x1000>;
clocks = <&ext_26m>, <&ext_32k>; clocks = <&ext_26m>, <&ext_32k>;
clock-names = "ext-26m", "ext-32k"; clock-names = "ext-26m", "ext-32k";
#clock-cells = <1>; #clock-cells = <1>;
}; };
- | - |
soc { syscon@20e00000 {
#address-cells = <2>; compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd";
#size-cells = <2>; reg = <0x20e00000 0x4000>;
#address-cells = <1>;
ap_ahb_regs: syscon@20e00000 { #size-cells = <1>;
compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd"; ranges = <0 0x20e00000 0x4000>;
reg = <0 0x20e00000 0 0x4000>;
#address-cells = <1>; apahb_gate: apahb-gate@0 {
#size-cells = <1>; compatible = "sprd,sc9863a-apahb-gate";
ranges = <0 0 0x20e00000 0x4000>; reg = <0x0 0x1020>;
#clock-cells = <1>;
apahb_gate: apahb-gate@0 {
compatible = "sprd,sc9863a-apahb-gate";
reg = <0x0 0x1020>;
#clock-cells = <1>;
};
}; };
}; };
......
...@@ -45,7 +45,7 @@ examples: ...@@ -45,7 +45,7 @@ examples:
crypto: crypto-engine@c883e000 { crypto: crypto-engine@c883e000 {
compatible = "amlogic,gxl-crypto"; compatible = "amlogic,gxl-crypto";
reg = <0x0 0xc883e000 0x0 0x36>; reg = <0xc883e000 0x36>;
interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>; interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_BLKMV>; clocks = <&clkc CLKID_BLKMV>;
clock-names = "blkmv"; clock-names = "blkmv";
......
...@@ -60,7 +60,7 @@ examples: ...@@ -60,7 +60,7 @@ examples:
cmm0: cmm@fea40000 { cmm0: cmm@fea40000 {
compatible = "renesas,r8a7796-cmm", compatible = "renesas,r8a7796-cmm",
"renesas,rcar-gen3-cmm"; "renesas,rcar-gen3-cmm";
reg = <0 0xfea40000 0 0x1000>; reg = <0xfea40000 0x1000>;
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
clocks = <&cpg CPG_MOD 711>; clocks = <&cpg CPG_MOD 711>;
resets = <&cpg 711>; resets = <&cpg 711>;
......
...@@ -122,13 +122,13 @@ examples: ...@@ -122,13 +122,13 @@ examples:
dss: dss@4a00000 { dss: dss@4a00000 {
compatible = "ti,am65x-dss"; compatible = "ti,am65x-dss";
reg = <0x0 0x04a00000 0x0 0x1000>, /* common */ reg = <0x04a00000 0x1000>, /* common */
<0x0 0x04a02000 0x0 0x1000>, /* vidl1 */ <0x04a02000 0x1000>, /* vidl1 */
<0x0 0x04a06000 0x0 0x1000>, /* vid */ <0x04a06000 0x1000>, /* vid */
<0x0 0x04a07000 0x0 0x1000>, /* ovr1 */ <0x04a07000 0x1000>, /* ovr1 */
<0x0 0x04a08000 0x0 0x1000>, /* ovr2 */ <0x04a08000 0x1000>, /* ovr2 */
<0x0 0x04a0a000 0x0 0x1000>, /* vp1 */ <0x04a0a000 0x1000>, /* vp1 */
<0x0 0x04a0b000 0x0 0x1000>; /* vp2 */ <0x04a0b000 0x1000>; /* vp2 */
reg-names = "common", "vidl1", "vid", reg-names = "common", "vidl1", "vid",
"ovr1", "ovr2", "vp1", "vp2"; "ovr1", "ovr2", "vp1", "vp2";
ti,am65x-oldi-io-ctrl = <&dss_oldi_io_ctrl>; ti,am65x-oldi-io-ctrl = <&dss_oldi_io_ctrl>;
......
...@@ -156,23 +156,23 @@ examples: ...@@ -156,23 +156,23 @@ examples:
dss: dss@4a00000 { dss: dss@4a00000 {
compatible = "ti,j721e-dss"; compatible = "ti,j721e-dss";
reg = <0x00 0x04a00000 0x00 0x10000>, /* common_m */ reg = <0x04a00000 0x10000>, /* common_m */
<0x00 0x04a10000 0x00 0x10000>, /* common_s0*/ <0x04a10000 0x10000>, /* common_s0*/
<0x00 0x04b00000 0x00 0x10000>, /* common_s1*/ <0x04b00000 0x10000>, /* common_s1*/
<0x00 0x04b10000 0x00 0x10000>, /* common_s2*/ <0x04b10000 0x10000>, /* common_s2*/
<0x00 0x04a20000 0x00 0x10000>, /* vidl1 */ <0x04a20000 0x10000>, /* vidl1 */
<0x00 0x04a30000 0x00 0x10000>, /* vidl2 */ <0x04a30000 0x10000>, /* vidl2 */
<0x00 0x04a50000 0x00 0x10000>, /* vid1 */ <0x04a50000 0x10000>, /* vid1 */
<0x00 0x04a60000 0x00 0x10000>, /* vid2 */ <0x04a60000 0x10000>, /* vid2 */
<0x00 0x04a70000 0x00 0x10000>, /* ovr1 */ <0x04a70000 0x10000>, /* ovr1 */
<0x00 0x04a90000 0x00 0x10000>, /* ovr2 */ <0x04a90000 0x10000>, /* ovr2 */
<0x00 0x04ab0000 0x00 0x10000>, /* ovr3 */ <0x04ab0000 0x10000>, /* ovr3 */
<0x00 0x04ad0000 0x00 0x10000>, /* ovr4 */ <0x04ad0000 0x10000>, /* ovr4 */
<0x00 0x04a80000 0x00 0x10000>, /* vp1 */ <0x04a80000 0x10000>, /* vp1 */
<0x00 0x04aa0000 0x00 0x10000>, /* vp2 */ <0x04aa0000 0x10000>, /* vp2 */
<0x00 0x04ac0000 0x00 0x10000>, /* vp3 */ <0x04ac0000 0x10000>, /* vp3 */
<0x00 0x04ae0000 0x00 0x10000>, /* vp4 */ <0x04ae0000 0x10000>, /* vp4 */
<0x00 0x04af0000 0x00 0x10000>; /* wb */ <0x04af0000 0x10000>; /* wb */
reg-names = "common_m", "common_s0", reg-names = "common_m", "common_s0",
"common_s1", "common_s2", "common_s1", "common_s2",
"vidl1", "vidl2","vid1","vid2", "vidl1", "vidl2","vid1","vid2",
......
...@@ -49,7 +49,7 @@ examples: ...@@ -49,7 +49,7 @@ examples:
- | - |
dma@3000000 { dma@3000000 {
compatible = "sifive,fu540-c000-pdma"; compatible = "sifive,fu540-c000-pdma";
reg = <0x0 0x3000000 0x0 0x8000>; reg = <0x3000000 0x8000>;
interrupts = <23 24 25 26 27 28 29 30>; interrupts = <23 24 25 26 27 28 29 30>;
#dma-cells = <1>; #dma-cells = <1>;
}; };
......
...@@ -57,7 +57,7 @@ examples: ...@@ -57,7 +57,7 @@ examples:
compatible = "sifive,fu540-c000-gpio", "sifive,gpio0"; compatible = "sifive,fu540-c000-gpio", "sifive,gpio0";
interrupt-parent = <&plic>; interrupt-parent = <&plic>;
interrupts = <7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22>; interrupts = <7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22>;
reg = <0x0 0x10060000 0x0 0x1000>; reg = <0x10060000 0x1000>;
clocks = <&tlclk PRCI_CLK_TLCLK>; clocks = <&tlclk PRCI_CLK_TLCLK>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -65,21 +65,21 @@ examples: ...@@ -65,21 +65,21 @@ examples:
config_noc: interconnect@1500000 { config_noc: interconnect@1500000 {
compatible = "qcom,sc7180-config-noc"; compatible = "qcom,sc7180-config-noc";
reg = <0 0x01500000 0 0x28000>; reg = <0x01500000 0x28000>;
#interconnect-cells = <1>; #interconnect-cells = <1>;
qcom,bcm-voters = <&apps_bcm_voter>; qcom,bcm-voters = <&apps_bcm_voter>;
}; };
system_noc: interconnect@1620000 { system_noc: interconnect@1620000 {
compatible = "qcom,sc7180-system-noc"; compatible = "qcom,sc7180-system-noc";
reg = <0 0x01620000 0 0x17080>; reg = <0x01620000 0x17080>;
#interconnect-cells = <1>; #interconnect-cells = <1>;
qcom,bcm-voters = <&apps_bcm_voter>; qcom,bcm-voters = <&apps_bcm_voter>;
}; };
mmss_noc: interconnect@1740000 { mmss_noc: interconnect@1740000 {
compatible = "qcom,sc7180-mmss-noc"; compatible = "qcom,sc7180-mmss-noc";
reg = <0 0x01740000 0 0x1c100>; reg = <0x01740000 0x1c100>;
#interconnect-cells = <1>; #interconnect-cells = <1>;
qcom,bcm-voters = <&apps_bcm_voter>; qcom,bcm-voters = <&apps_bcm_voter>;
}; };
...@@ -60,14 +60,14 @@ examples: ...@@ -60,14 +60,14 @@ examples:
mem_noc: interconnect@1380000 { mem_noc: interconnect@1380000 {
compatible = "qcom,sdm845-mem-noc"; compatible = "qcom,sdm845-mem-noc";
reg = <0 0x01380000 0 0x27200>; reg = <0x01380000 0x27200>;
#interconnect-cells = <1>; #interconnect-cells = <1>;
qcom,bcm-voters = <&apps_bcm_voter>; qcom,bcm-voters = <&apps_bcm_voter>;
}; };
mmss_noc: interconnect@1740000 { mmss_noc: interconnect@1740000 {
compatible = "qcom,sdm845-mmss-noc"; compatible = "qcom,sdm845-mmss-noc";
reg = <0 0x01740000 0 0x1c1000>; reg = <0x01740000 0x1c1000>;
#interconnect-cells = <1>; #interconnect-cells = <1>;
qcom,bcm-voter-names = "apps", "disp"; qcom,bcm-voter-names = "apps", "disp";
qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>; qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
......
...@@ -79,7 +79,7 @@ examples: ...@@ -79,7 +79,7 @@ examples:
compatible = "renesas,irqc-r8a7790", "renesas,irqc"; compatible = "renesas,irqc-r8a7790", "renesas,irqc";
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupt-controller; interrupt-controller;
reg = <0 0xe61c0000 0 0x200>; reg = <0xe61c0000 0x200>;
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
......
...@@ -87,7 +87,7 @@ examples: ...@@ -87,7 +87,7 @@ examples:
- | - |
cec_AO: cec@100 { cec_AO: cec@100 {
compatible = "amlogic,meson-gx-ao-cec"; compatible = "amlogic,meson-gx-ao-cec";
reg = <0x0 0x00100 0x0 0x14>; reg = <0x00100 0x14>;
interrupts = <199>; interrupts = <199>;
clocks = <&clkc_cec>; clocks = <&clkc_cec>;
clock-names = "core"; clock-names = "core";
......
...@@ -115,7 +115,7 @@ examples: ...@@ -115,7 +115,7 @@ examples:
venus: video-codec@aa00000 { venus: video-codec@aa00000 {
compatible = "qcom,sc7180-venus"; compatible = "qcom,sc7180-venus";
reg = <0 0x0aa00000 0 0xff000>; reg = <0x0aa00000 0xff000>;
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&videocc VENUS_GDSC>, power-domains = <&videocc VENUS_GDSC>,
<&videocc VCODEC0_GDSC>; <&videocc VCODEC0_GDSC>;
......
...@@ -110,7 +110,7 @@ examples: ...@@ -110,7 +110,7 @@ examples:
video-codec@aa00000 { video-codec@aa00000 {
compatible = "qcom,sdm845-venus-v2"; compatible = "qcom,sdm845-venus-v2";
reg = <0 0x0aa00000 0 0xff000>; reg = <0x0aa00000 0xff000>;
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>, clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
<&videocc VIDEO_CC_VENUS_AHB_CLK>, <&videocc VIDEO_CC_VENUS_AHB_CLK>,
......
...@@ -127,7 +127,7 @@ examples: ...@@ -127,7 +127,7 @@ examples:
video-codec@aa00000 { video-codec@aa00000 {
compatible = "qcom,sdm845-venus"; compatible = "qcom,sdm845-venus";
reg = <0 0x0aa00000 0 0xff000>; reg = <0x0aa00000 0xff000>;
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>, clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
<&videocc VIDEO_CC_VENUS_AHB_CLK>, <&videocc VIDEO_CC_VENUS_AHB_CLK>,
......
...@@ -135,7 +135,7 @@ examples: ...@@ -135,7 +135,7 @@ examples:
csi20: csi2@fea80000 { csi20: csi2@fea80000 {
compatible = "renesas,r8a7796-csi2"; compatible = "renesas,r8a7796-csi2";
reg = <0 0xfea80000 0 0x10000>; reg = <0xfea80000 0x10000>;
interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 714>; clocks = <&cpg CPG_MOD 714>;
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
......
...@@ -306,7 +306,7 @@ examples: ...@@ -306,7 +306,7 @@ examples:
vin1: vin@e6ef1000 { vin1: vin@e6ef1000 {
compatible = "renesas,vin-r8a7790", compatible = "renesas,vin-r8a7790",
"renesas,rcar-gen2-vin"; "renesas,rcar-gen2-vin";
reg = <0 0xe6ef1000 0 0x1000>; reg = <0xe6ef1000 0x1000>;
interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 810>; clocks = <&cpg CPG_MOD 810>;
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
...@@ -328,7 +328,7 @@ examples: ...@@ -328,7 +328,7 @@ examples:
vin0: video@e6ef0000 { vin0: video@e6ef0000 {
compatible = "renesas,vin-r8a7795"; compatible = "renesas,vin-r8a7795";
reg = <0 0xe6ef0000 0 0x1000>; reg = <0xe6ef0000 0x1000>;
interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 811>; clocks = <&cpg CPG_MOD 811>;
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
...@@ -365,7 +365,7 @@ examples: ...@@ -365,7 +365,7 @@ examples:
vin2: video@e6ef2000 { vin2: video@e6ef2000 {
compatible = "renesas,vin-r8a77970"; compatible = "renesas,vin-r8a77970";
reg = <0 0xe6ef2000 0 0x1000>; reg = <0xe6ef2000 0x1000>;
interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 809>; clocks = <&cpg CPG_MOD 809>;
power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
......
...@@ -337,7 +337,7 @@ examples: ...@@ -337,7 +337,7 @@ examples:
mc: memory-controller@70019000 { mc: memory-controller@70019000 {
compatible = "nvidia,tegra124-mc"; compatible = "nvidia,tegra124-mc";
reg = <0x0 0x70019000 0x0 0x1000>; reg = <0x70019000 0x1000>;
clocks = <&tegra_car TEGRA124_CLK_MC>; clocks = <&tegra_car TEGRA124_CLK_MC>;
clock-names = "mc"; clock-names = "mc";
...@@ -349,7 +349,7 @@ examples: ...@@ -349,7 +349,7 @@ examples:
external-memory-controller@7001b000 { external-memory-controller@7001b000 {
compatible = "nvidia,tegra124-emc"; compatible = "nvidia,tegra124-emc";
reg = <0x0 0x7001b000 0x0 0x1000>; reg = <0x7001b000 0x1000>;
clocks = <&car TEGRA124_CLK_EMC>; clocks = <&car TEGRA124_CLK_EMC>;
clock-names = "emc"; clock-names = "emc";
......
...@@ -111,7 +111,7 @@ examples: ...@@ -111,7 +111,7 @@ examples:
- | - |
memory-controller@70019000 { memory-controller@70019000 {
compatible = "nvidia,tegra124-mc"; compatible = "nvidia,tegra124-mc";
reg = <0x0 0x70019000 0x0 0x1000>; reg = <0x70019000 0x1000>;
clocks = <&tegra_car 32>; clocks = <&tegra_car 32>;
clock-names = "mc"; clock-names = "mc";
......
...@@ -47,7 +47,7 @@ examples: ...@@ -47,7 +47,7 @@ examples:
- | - |
mmc0: mmc@e0330000 { mmc0: mmc@e0330000 {
compatible = "actions,owl-mmc"; compatible = "actions,owl-mmc";
reg = <0x0 0xe0330000 0x0 0x4000>; reg = <0xe0330000 0x4000>;
interrupts = <0 42 4>; interrupts = <0 42 4>;
clocks = <&cmu 56>; clocks = <&cmu 56>;
resets = <&cmu 23>; resets = <&cmu 23>;
......
...@@ -109,7 +109,7 @@ examples: ...@@ -109,7 +109,7 @@ examples:
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
sdmmc: mmc@ff0c0000 { sdmmc: mmc@ff0c0000 {
compatible = "rockchip,rk3288-dw-mshc"; compatible = "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff0c0000 0x0 0x4000>; reg = <0xff0c0000 0x4000>;
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
<&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
......
...@@ -162,9 +162,9 @@ examples: ...@@ -162,9 +162,9 @@ examples:
modem-init; modem-init;
modem-remoteproc = <&mss_pil>; modem-remoteproc = <&mss_pil>;
reg = <0 0x1e40000 0 0x7000>, reg = <0x1e40000 0x7000>,
<0 0x1e47000 0 0x2000>, <0x1e47000 0x2000>,
<0 0x1e04000 0 0x2c000>; <0x1e04000 0x2c000>;
reg-names = "ipa-reg", reg-names = "ipa-reg",
"ipa-shared", "ipa-shared",
"gsi"; "gsi";
......
...@@ -92,7 +92,7 @@ examples: ...@@ -92,7 +92,7 @@ examples:
ethernet@ee700000 { ethernet@ee700000 {
compatible = "renesas,ether-r8a7790", "renesas,rcar-gen2-ether"; compatible = "renesas,ether-r8a7790", "renesas,rcar-gen2-ether";
reg = <0 0xee700000 0 0x400>; reg = <0xee700000 0x400>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp8_clks R8A7790_CLK_ETHER>; clocks = <&mstp8_clks R8A7790_CLK_ETHER>;
......
...@@ -164,37 +164,41 @@ examples: ...@@ -164,37 +164,41 @@ examples:
#include <dt-bindings/soc/ti,sci_pm_domain.h> #include <dt-bindings/soc/ti,sci_pm_domain.h>
#include <dt-bindings/net/ti-dp83867.h> #include <dt-bindings/net/ti-dp83867.h>
mcu_cpsw: ethernet@46000000 { bus {
compatible = "ti,am654-cpsw-nuss";
#address-cells = <2>; #address-cells = <2>;
#size-cells = <2>; #size-cells = <2>;
reg = <0x0 0x46000000 0x0 0x200000>;
reg-names = "cpsw_nuss"; mcu_cpsw: ethernet@46000000 {
ranges = <0x0 0x0 0x46000000 0x0 0x200000>; compatible = "ti,am654-cpsw-nuss";
dma-coherent; #address-cells = <2>;
clocks = <&k3_clks 5 10>; #size-cells = <2>;
clock-names = "fck"; reg = <0x0 0x46000000 0x0 0x200000>;
power-domains = <&k3_pds 5 TI_SCI_PD_EXCLUSIVE>; reg-names = "cpsw_nuss";
pinctrl-names = "default"; ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>;
pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; dma-coherent;
clocks = <&k3_clks 5 10>;
dmas = <&mcu_udmap 0xf000>, clock-names = "fck";
<&mcu_udmap 0xf001>, power-domains = <&k3_pds 5 TI_SCI_PD_EXCLUSIVE>;
<&mcu_udmap 0xf002>, pinctrl-names = "default";
<&mcu_udmap 0xf003>, pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
<&mcu_udmap 0xf004>,
<&mcu_udmap 0xf005>, dmas = <&mcu_udmap 0xf000>,
<&mcu_udmap 0xf006>, <&mcu_udmap 0xf001>,
<&mcu_udmap 0xf007>, <&mcu_udmap 0xf002>,
<&mcu_udmap 0x7000>; <&mcu_udmap 0xf003>,
dma-names = "tx0", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7", <&mcu_udmap 0xf004>,
"rx"; <&mcu_udmap 0xf005>,
<&mcu_udmap 0xf006>,
ethernet-ports { <&mcu_udmap 0xf007>,
#address-cells = <1>; <&mcu_udmap 0x7000>;
#size-cells = <0>; dma-names = "tx0", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
"rx";
cpsw_port1: port@1 {
ethernet-ports {
#address-cells = <1>;
#size-cells = <0>;
cpsw_port1: port@1 {
reg = <1>; reg = <1>;
ti,mac-only; ti,mac-only;
label = "port1"; label = "port1";
...@@ -203,22 +207,23 @@ examples: ...@@ -203,22 +207,23 @@ examples:
phy-mode = "rgmii-rxid"; phy-mode = "rgmii-rxid";
phy-handle = <&phy0>; phy-handle = <&phy0>;
}; };
}; };
davinci_mdio: mdio@f00 { davinci_mdio: mdio@f00 {
compatible = "ti,cpsw-mdio","ti,davinci_mdio"; compatible = "ti,cpsw-mdio","ti,davinci_mdio";
reg = <0x0 0xf00 0x0 0x100>; reg = <0x0 0xf00 0x0 0x100>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&k3_clks 5 10>; clocks = <&k3_clks 5 10>;
clock-names = "fck"; clock-names = "fck";
bus_freq = <1000000>; bus_freq = <1000000>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0>; reg = <0>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
}; };
};
}; };
}; };
...@@ -30,6 +30,6 @@ examples: ...@@ -30,6 +30,6 @@ examples:
- | - |
mpphy: phy@0 { mpphy: phy@0 {
compatible = "amlogic,axg-mipi-pcie-analog-phy"; compatible = "amlogic,axg-mipi-pcie-analog-phy";
reg = <0x0 0x0 0x0 0xc>; reg = <0x0 0xc>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
...@@ -44,7 +44,7 @@ examples: ...@@ -44,7 +44,7 @@ examples:
#include <dt-bindings/phy/phy.h> #include <dt-bindings/phy/phy.h>
pcie_phy: pcie-phy@ff644000 { pcie_phy: pcie-phy@ff644000 {
compatible = "amlogic,axg-pcie-phy"; compatible = "amlogic,axg-pcie-phy";
reg = <0x0 0xff644000 0x0 0x1c>; reg = <0xff644000 0x1c>;
resets = <&reset RESET_PCIE_PHY>; resets = <&reset RESET_PCIE_PHY>;
phys = <&mipi_analog_phy PHY_TYPE_PCIE>; phys = <&mipi_analog_phy PHY_TYPE_PCIE>;
phy-names = "analog"; phy-names = "analog";
......
...@@ -117,24 +117,30 @@ additionalProperties: false ...@@ -117,24 +117,30 @@ additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/phy/phy.h> #include <dt-bindings/phy/phy.h>
torrent_phy: torrent-phy@f0fb500000 {
compatible = "cdns,torrent-phy"; bus {
reg = <0xf0 0xfb500000 0x0 0x00100000>, #address-cells = <2>;
<0xf0 0xfb030a00 0x0 0x00000040>; #size-cells = <2>;
reg-names = "torrent_phy", "dptx_phy";
resets = <&phyrst 0>; torrent-phy@f0fb500000 {
clocks = <&ref_clk>; compatible = "cdns,torrent-phy";
clock-names = "refclk"; reg = <0xf0 0xfb500000 0x0 0x00100000>,
#address-cells = <1>; <0xf0 0xfb030a00 0x0 0x00000040>;
#size-cells = <0>; reg-names = "torrent_phy", "dptx_phy";
torrent_phy_dp: phy@0 { resets = <&phyrst 0>;
reg = <0>; clocks = <&ref_clk>;
resets = <&phyrst 1>, <&phyrst 2>, clock-names = "refclk";
<&phyrst 3>, <&phyrst 4>; #address-cells = <1>;
#phy-cells = <0>; #size-cells = <0>;
cdns,phy-type = <PHY_TYPE_DP>; phy@0 {
cdns,num-lanes = <4>; reg = <0>;
cdns,max-bit-rate = <8100>; resets = <&phyrst 1>, <&phyrst 2>,
}; <&phyrst 3>, <&phyrst 4>;
#phy-cells = <0>;
cdns,phy-type = <PHY_TYPE_DP>;
cdns,num-lanes = <4>;
cdns,max-bit-rate = <8100>;
};
};
}; };
... ...
...@@ -59,7 +59,7 @@ examples: ...@@ -59,7 +59,7 @@ examples:
- | - |
dsi_dphy: phy@ff2e0000 { dsi_dphy: phy@ff2e0000 {
compatible = "rockchip,px30-dsi-dphy"; compatible = "rockchip,px30-dsi-dphy";
reg = <0x0 0xff2e0000 0x0 0x10000>; reg = <0xff2e0000 0x10000>;
clocks = <&pmucru 13>, <&cru 12>; clocks = <&pmucru 13>, <&cru 12>;
clock-names = "ref", "pclk"; clock-names = "ref", "pclk";
resets = <&cru 12>; resets = <&cru 12>;
......
...@@ -121,7 +121,7 @@ examples: ...@@ -121,7 +121,7 @@ examples:
lhc: lhc@20 { lhc: lhc@20 {
compatible = "aspeed,ast2500-lhc"; compatible = "aspeed,ast2500-lhc";
reg = <0x20 0x24 0x48 0x8>; reg = <0x20 0x24>, <0x48 0x8>;
}; };
}; };
}; };
...@@ -68,7 +68,7 @@ examples: ...@@ -68,7 +68,7 @@ examples:
pwm0: pwm@e6e30000 { pwm0: pwm@e6e30000 {
compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar"; compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
reg = <0 0xe6e30000 0 0x8>; reg = <0xe6e30000 0x8>;
clocks = <&cpg CPG_MOD 523>; clocks = <&cpg CPG_MOD 523>;
power-domains = <&sysc R8A7743_PD_ALWAYS_ON>; power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
resets = <&cpg 523>; resets = <&cpg 523>;
......
...@@ -55,7 +55,7 @@ examples: ...@@ -55,7 +55,7 @@ examples:
compatible = "sifive,fu540-c000-uart", "sifive,uart0"; compatible = "sifive,fu540-c000-uart", "sifive,uart0";
interrupt-parent = <&plic0>; interrupt-parent = <&plic0>;
interrupts = <80>; interrupts = <80>;
reg = <0x0 0x10010000 0x0 0x1000>; reg = <0x10010000 0x1000>;
clocks = <&prci PRCI_CLK_TLCLK>; clocks = <&prci PRCI_CLK_TLCLK>;
}; };
......
...@@ -86,7 +86,7 @@ examples: ...@@ -86,7 +86,7 @@ examples:
aiu: audio-controller@5400 { aiu: audio-controller@5400 {
compatible = "amlogic,aiu-gxl", "amlogic,aiu"; compatible = "amlogic,aiu-gxl", "amlogic,aiu";
#sound-dai-cells = <2>; #sound-dai-cells = <2>;
reg = <0x0 0x5400 0x0 0x2ac>; reg = <0x5400 0x2ac>;
interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>, interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 50 IRQ_TYPE_EDGE_RISING>; <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "i2s", "spdif"; interrupt-names = "i2s", "spdif";
...@@ -110,4 +110,3 @@ examples: ...@@ -110,4 +110,3 @@ examples:
"spdif_mclk_sel"; "spdif_mclk_sel";
resets = <&reset RESET_AIU>; resets = <&reset RESET_AIU>;
}; };
...@@ -45,7 +45,7 @@ examples: ...@@ -45,7 +45,7 @@ examples:
toacodec: audio-controller@740 { toacodec: audio-controller@740 {
compatible = "amlogic,g12a-toacodec"; compatible = "amlogic,g12a-toacodec";
reg = <0x0 0x740 0x0 0x4>; reg = <0x740 0x4>;
#sound-dai-cells = <1>; #sound-dai-cells = <1>;
resets = <&clkc_audio AUD_RESET_TOACODEC>; resets = <&clkc_audio AUD_RESET_TOACODEC>;
}; };
...@@ -49,10 +49,9 @@ examples: ...@@ -49,10 +49,9 @@ examples:
acodec: audio-controller@32000 { acodec: audio-controller@32000 {
compatible = "amlogic,t9015"; compatible = "amlogic,t9015";
reg = <0x0 0x32000 0x0 0x14>; reg = <0x32000 0x14>;
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
clocks = <&clkc CLKID_AUDIO_CODEC>; clocks = <&clkc CLKID_AUDIO_CODEC>;
clock-names = "pclk"; clock-names = "pclk";
resets = <&reset RESET_AUDIO_CODEC>; resets = <&reset RESET_AUDIO_CODEC>;
}; };
...@@ -145,7 +145,7 @@ examples: ...@@ -145,7 +145,7 @@ examples:
msiof0: spi@e6e20000 { msiof0: spi@e6e20000 {
compatible = "renesas,msiof-r8a7791", "renesas,rcar-gen2-msiof"; compatible = "renesas,msiof-r8a7791", "renesas,rcar-gen2-msiof";
reg = <0 0xe6e20000 0 0x0064>; reg = <0xe6e20000 0x0064>;
interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>; clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>;
dmas = <&dmac0 0x51>, <&dmac0 0x52>; dmas = <&dmac0 0x51>, <&dmac0 0x52>;
......
...@@ -70,7 +70,7 @@ examples: ...@@ -70,7 +70,7 @@ examples:
- | - |
spi: spi@10040000 { spi: spi@10040000 {
compatible = "sifive,fu540-c000-spi", "sifive,spi0"; compatible = "sifive,fu540-c000-spi", "sifive,spi0";
reg = <0x0 0x10040000 0x0 0x1000 0x0 0x20000000 0x0 0x10000000>; reg = <0x10040000 0x1000>, <0x20000000 0x10000000>;
interrupt-parent = <&plic>; interrupt-parent = <&plic>;
interrupts = <51>; interrupts = <51>;
clocks = <&tlclk>; clocks = <&tlclk>;
......
...@@ -94,8 +94,8 @@ examples: ...@@ -94,8 +94,8 @@ examples:
thermal@e61f0000 { thermal@e61f0000 {
compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal"; compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal";
reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>, reg = <0xe61f0000 0x14>, <0xe61f0100 0x38>,
<0 0xe61f0200 0 0x38>, <0 0xe61f0300 0 0x38>; <0xe61f0200 0x38>, <0xe61f0300 0x38>;
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp5_clks R8A73A4_CLK_THERMAL>; clocks = <&mstp5_clks R8A73A4_CLK_THERMAL>;
power-domains = <&pd_c5>; power-domains = <&pd_c5>;
...@@ -111,7 +111,7 @@ examples: ...@@ -111,7 +111,7 @@ examples:
compatible = "renesas,thermal-r8a7790", compatible = "renesas,thermal-r8a7790",
"renesas,rcar-gen2-thermal", "renesas,rcar-gen2-thermal",
"renesas,rcar-thermal"; "renesas,rcar-thermal";
reg = <0 0xe61f0000 0 0x10>, <0 0xe61f0100 0 0x38>; reg = <0xe61f0000 0x10>, <0xe61f0100 0x38>;
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 522>; clocks = <&cpg CPG_MOD 522>;
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
......
...@@ -83,7 +83,7 @@ examples: ...@@ -83,7 +83,7 @@ examples:
- | - |
ap_thm0: thermal@32200000 { ap_thm0: thermal@32200000 {
compatible = "sprd,ums512-thermal"; compatible = "sprd,ums512-thermal";
reg = <0 0x32200000 0 0x10000>; reg = <0x32200000 0x10000>;
clock-names = "enable"; clock-names = "enable";
clocks = <&aonapb_gate 32>; clocks = <&aonapb_gate 32>;
#thermal-sensor-cells = <1>; #thermal-sensor-cells = <1>;
......
...@@ -111,7 +111,7 @@ examples: ...@@ -111,7 +111,7 @@ examples:
- | - |
usb: usb@ffe09000 { usb: usb@ffe09000 {
compatible = "amlogic,meson-g12a-usb-ctrl"; compatible = "amlogic,meson-g12a-usb-ctrl";
reg = <0x0 0xffe09000 0x0 0xa0>; reg = <0xffe09000 0xa0>;
interrupts = <16>; interrupts = <16>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -147,4 +147,3 @@ examples: ...@@ -147,4 +147,3 @@ examples:
snps,quirk-frame-length-adjustment; snps,quirk-frame-length-adjustment;
}; };
}; };
...@@ -101,7 +101,7 @@ examples: ...@@ -101,7 +101,7 @@ examples:
compatible = "ibm,usb-ehci-440epx", "generic-ehci"; compatible = "ibm,usb-ehci-440epx", "generic-ehci";
interrupt-parent = <&UIC0>; interrupt-parent = <&UIC0>;
interrupts = <0x1a 4>; interrupts = <0x1a 4>;
reg = <0 0xe0000300 90 0 0xe0000390 70>; reg = <0xe0000300 90>, <0xe0000390 70>;
big-endian; big-endian;
}; };
......
...@@ -163,9 +163,9 @@ examples: ...@@ -163,9 +163,9 @@ examples:
usb@700d0000 { usb@700d0000 {
compatible = "nvidia,tegra210-xudc"; compatible = "nvidia,tegra210-xudc";
reg = <0x0 0x700d0000 0x0 0x8000>, reg = <0x700d0000 0x8000>,
<0x0 0x700d8000 0x0 0x1000>, <0x700d8000 0x1000>,
<0x0 0x700d9000 0x0 0x1000>; <0x700d9000 0x1000>;
reg-names = "base", "fpci", "ipfs"; reg-names = "base", "fpci", "ipfs";
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
......
...@@ -72,7 +72,7 @@ examples: ...@@ -72,7 +72,7 @@ examples:
usb3_peri0: usb@ee020000 { usb3_peri0: usb@ee020000 {
compatible = "renesas,r8a774c0-usb3-peri", "renesas,rcar-gen3-usb3-peri"; compatible = "renesas,r8a774c0-usb3-peri", "renesas,rcar-gen3-usb3-peri";
reg = <0 0xee020000 0 0x400>; reg = <0xee020000 0x400>;
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 328>; clocks = <&cpg CPG_MOD 328>;
companion = <&xhci0>; companion = <&xhci0>;
......
...@@ -120,7 +120,7 @@ examples: ...@@ -120,7 +120,7 @@ examples:
usbhs: usb@e6590000 { usbhs: usb@e6590000 {
compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs"; compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
reg = <0 0xe6590000 0 0x100>; reg = <0xe6590000 0x100>;
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 704>; clocks = <&cpg CPG_MOD 704>;
}; };
...@@ -57,30 +57,36 @@ examples: ...@@ -57,30 +57,36 @@ examples:
- | - |
#include <dt-bindings/soc/ti,sci_pm_domain.h> #include <dt-bindings/soc/ti,sci_pm_domain.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
cdns_usb@4104000 {
compatible = "ti,j721e-usb";
reg = <0x00 0x4104000 0x00 0x100>;
power-domains = <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 288 15>, <&k3_clks 288 3>;
clock-names = "ref", "lpm";
assigned-clocks = <&k3_clks 288 15>; /* USB2_REFCLK */
assigned-clock-parents = <&k3_clks 288 16>; /* HFOSC0 */
#address-cells = <2>;
#size-cells = <2>;
usb@6000000 { bus {
compatible = "cdns,usb3"; #address-cells = <2>;
reg = <0x00 0x6000000 0x00 0x10000>, #size-cells = <2>;
<0x00 0x6010000 0x00 0x10000>,
<0x00 0x6020000 0x00 0x10000>; cdns_usb@4104000 {
reg-names = "otg", "xhci", "dev"; compatible = "ti,j721e-usb";
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */ reg = <0x00 0x4104000 0x00 0x100>;
<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */ power-domains = <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>;
<GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; /* otgirq.0 */ clocks = <&k3_clks 288 15>, <&k3_clks 288 3>;
interrupt-names = "host", clock-names = "ref", "lpm";
"peripheral", assigned-clocks = <&k3_clks 288 15>; /* USB2_REFCLK */
"otg"; assigned-clock-parents = <&k3_clks 288 16>; /* HFOSC0 */
maximum-speed = "super-speed"; #address-cells = <2>;
dr_mode = "otg"; #size-cells = <2>;
usb@6000000 {
compatible = "cdns,usb3";
reg = <0x00 0x6000000 0x00 0x10000>,
<0x00 0x6010000 0x00 0x10000>,
<0x00 0x6020000 0x00 0x10000>;
reg-names = "otg", "xhci", "dev";
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
<GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; /* otgirq.0 */
interrupt-names = "host",
"peripheral",
"otg";
maximum-speed = "super-speed";
dr_mode = "otg";
};
}; };
}; };
...@@ -57,7 +57,7 @@ examples: ...@@ -57,7 +57,7 @@ examples:
watchdog0: rti@2200000 { watchdog0: rti@2200000 {
compatible = "ti,rti-wdt"; compatible = "ti,rti-wdt";
reg = <0x0 0x2200000 0x0 0x100>; reg = <0x2200000 0x100>;
clocks = <&k3_clks 252 1>; clocks = <&k3_clks 252 1>;
power-domains = <&k3_pds 252 TI_SCI_PD_EXCLUSIVE>; power-domains = <&k3_pds 252 TI_SCI_PD_EXCLUSIVE>;
assigned-clocks = <&k3_clks 252 1>; assigned-clocks = <&k3_clks 252 1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment