Skip to content

Commit 4c9847b

Browse files
malaterrerobherring
authored andcommitted
dt-bindings: Remove leading 0x from bindings notation
Improve the binding example by removing all the leading 0x to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" Converted using the following command: find Documentation/devicetree/bindings -name "*.txt" -exec sed -i -e 's/([^ ])\@0x([0-9a-f])/$1\@$2/g' {} + This is a follow up to commit 48c926c Signed-off-by: Mathieu Malaterre <[email protected]> Signed-off-by: Rob Herring <[email protected]>
1 parent 6de67de commit 4c9847b

File tree

73 files changed

+99
-99
lines changed

Some content is hidden

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

73 files changed

+99
-99
lines changed

Documentation/devicetree/bindings/arm/ccn.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Required properties:
1515

1616
Example:
1717

18-
ccn@0x2000000000 {
18+
ccn@2000000000 {
1919
compatible = "arm,ccn-504";
2020
reg = <0x20 0x00000000 0 0x1000000>;
2121
interrupts = <0 181 4>;

Documentation/devicetree/bindings/arm/omap/crossbar.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ An interrupt consumer on an SoC using crossbar will use:
4949
interrupts = <GIC_SPI request_number interrupt_level>
5050

5151
Example:
52-
device_x@0x4a023000 {
52+
device_x@4a023000 {
5353
/* Crossbar 8 used */
5454
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
5555
...

Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Required properties:
88
- interrupts : Should contain MC General interrupt.
99

1010
Example:
11-
memory-controller@0x7000f000 {
11+
memory-controller@7000f000 {
1212
compatible = "nvidia,tegra20-mc";
1313
reg = <0x7000f000 0x024
1414
0x7000f03c 0x3c4>;

Documentation/devicetree/bindings/clock/axi-clkgen.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Optional properties:
1717
- clock-output-names : From common clock binding.
1818

1919
Example:
20-
clock@0xff000000 {
20+
clock@ff000000 {
2121
compatible = "adi,axi-clkgen";
2222
#clock-cells = <0>;
2323
reg = <0xff000000 0x1000>;

Documentation/devicetree/bindings/clock/brcm,bcm2835-aux-clock.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Example:
2323
clocks = <&clk_osc>;
2424
};
2525

26-
aux: aux@0x7e215004 {
26+
aux: aux@7e215004 {
2727
compatible = "brcm,bcm2835-aux";
2828
#clock-cells = <1>;
2929
reg = <0x7e215000 0x8>;

Documentation/devicetree/bindings/clock/exynos4-clock.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tree sources.
2424

2525
Example 1: An example of a clock controller node is listed below.
2626

27-
clock: clock-controller@0x10030000 {
27+
clock: clock-controller@10030000 {
2828
compatible = "samsung,exynos4210-clock";
2929
reg = <0x10030000 0x20000>;
3030
#clock-cells = <1>;

Documentation/devicetree/bindings/clock/exynos5250-clock.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ tree sources.
2222

2323
Example 1: An example of a clock controller node is listed below.
2424

25-
clock: clock-controller@0x10010000 {
25+
clock: clock-controller@10010000 {
2626
compatible = "samsung,exynos5250-clock";
2727
reg = <0x10010000 0x30000>;
2828
#clock-cells = <1>;

Documentation/devicetree/bindings/clock/exynos5410-clock.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Example 1: An example of a clock controller node is listed below.
3030
#clock-cells = <0>;
3131
};
3232

33-
clock: clock-controller@0x10010000 {
33+
clock: clock-controller@10010000 {
3434
compatible = "samsung,exynos5410-clock";
3535
reg = <0x10010000 0x30000>;
3636
#clock-cells = <1>;

Documentation/devicetree/bindings/clock/exynos5420-clock.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ tree sources.
2323

2424
Example 1: An example of a clock controller node is listed below.
2525

26-
clock: clock-controller@0x10010000 {
26+
clock: clock-controller@10010000 {
2727
compatible = "samsung,exynos5420-clock";
2828
reg = <0x10010000 0x30000>;
2929
#clock-cells = <1>;

Documentation/devicetree/bindings/clock/exynos5440-clock.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ tree sources.
2121

2222
Example: An example of a clock controller node is listed below.
2323

24-
clock: clock-controller@0x10010000 {
24+
clock: clock-controller@10010000 {
2525
compatible = "samsung,exynos5440-clock";
2626
reg = <0x160000 0x10000>;
2727
#clock-cells = <1>;

Documentation/devicetree/bindings/clock/ti-keystone-pllctrl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Required properties:
1414

1515
Example:
1616

17-
pllctrl: pll-controller@0x02310000 {
17+
pllctrl: pll-controller@02310000 {
1818
compatible = "ti,keystone-pllctrl", "syscon";
1919
reg = <0x02310000 0x200>;
2020
};

Documentation/devicetree/bindings/clock/zx296702-clk.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ ID in its "clocks" phandle cell. See include/dt-bindings/clock/zx296702-clock.h
2020
for the full list of zx296702 clock IDs.
2121

2222

23-
topclk: topcrm@0x09800000 {
23+
topclk: topcrm@09800000 {
2424
compatible = "zte,zx296702-topcrm-clk";
2525
reg = <0x09800000 0x1000>;
2626
#clock-cells = <1>;
2727
};
2828

29-
uart0: serial@0x09405000 {
29+
uart0: serial@09405000 {
3030
compatible = "zte,zx296702-uart";
3131
reg = <0x09405000 0x1000>;
3232
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;

Documentation/devicetree/bindings/crypto/fsl-sec4.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ System ON/OFF key driver
456456
Definition: this is phandle to the register map node.
457457

458458
EXAMPLE:
459-
snvs-pwrkey@0x020cc000 {
459+
snvs-pwrkey@020cc000 {
460460
compatible = "fsl,sec-v4.0-pwrkey";
461461
regmap = <&snvs>;
462462
interrupts = <0 4 0x4>
@@ -545,7 +545,7 @@ FULL EXAMPLE
545545
interrupts = <93 2>;
546546
};
547547

548-
snvs-pwrkey@0x020cc000 {
548+
snvs-pwrkey@020cc000 {
549549
compatible = "fsl,sec-v4.0-pwrkey";
550550
regmap = <&sec_mon>;
551551
interrupts = <0 4 0x4>;

Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Required properties:
99
- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon";
1010

1111
Example:
12-
dfi: dfi@0xff630000 {
12+
dfi: dfi@ff630000 {
1313
compatible = "rockchip,rk3399-dfi";
1414
reg = <0x00 0xff630000 0x00 0x4000>;
1515
rockchip,pmu = <&pmugrf>;

Documentation/devicetree/bindings/display/atmel,lcdc.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Optional properties:
2727

2828
Example:
2929

30-
fb0: fb@0x00500000 {
30+
fb0: fb@00500000 {
3131
compatible = "atmel,at91sam9g45-lcdc";
3232
reg = <0x00500000 0x1000>;
3333
interrupts = <23 3 0>;
@@ -41,7 +41,7 @@ Example:
4141

4242
Example for fixed framebuffer memory:
4343

44-
fb0: fb@0x00500000 {
44+
fb0: fb@00500000 {
4545
compatible = "atmel,at91sam9263-lcdc";
4646
reg = <0x00700000 0x1000 0x70000000 0x200000>;
4747
[...]

Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Hypervisor OS configuration:
7373
max-read-transactions = <31>;
7474
channel-reset-timeout-cycles = <0x500>;
7575

76-
hidma_24: dma-controller@0x5c050000 {
76+
hidma_24: dma-controller@5c050000 {
7777
compatible = "qcom,hidma-1.0";
7878
reg = <0 0x5c050000 0x0 0x1000>,
7979
<0 0x5c0b0000 0x0 0x1000>;
@@ -85,7 +85,7 @@ Hypervisor OS configuration:
8585

8686
Guest OS configuration:
8787

88-
hidma_24: dma-controller@0x5c050000 {
88+
hidma_24: dma-controller@5c050000 {
8989
compatible = "qcom,hidma-1.0";
9090
reg = <0 0x5c050000 0x0 0x1000>,
9191
<0 0x5c0b0000 0x0 0x1000>;

Documentation/devicetree/bindings/dma/zxdma.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Required properties:
1313
Example:
1414

1515
Controller:
16-
dma: dma-controller@0x09c00000{
16+
dma: dma-controller@09c00000{
1717
compatible = "zte,zx296702-dma";
1818
reg = <0x09c00000 0x1000>;
1919
clocks = <&topclk ZX296702_DMA_ACLK>;

Documentation/devicetree/bindings/gpio/gpio-altera.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Optional properties:
3030

3131
Example:
3232

33-
gpio_altr: gpio@0xff200000 {
33+
gpio_altr: gpio@ff200000 {
3434
compatible = "altr,pio-1.0";
3535
reg = <0xff200000 0x10>;
3636
interrupts = <0 45 4>;

Documentation/devicetree/bindings/i2c/i2c-jz4780.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Optional properties:
1818
Example
1919

2020
/ {
21-
i2c4: i2c4@0x10054000 {
21+
i2c4: i2c4@10054000 {
2222
compatible = "ingenic,jz4780-i2c";
2323
reg = <0x10054000 0x1000>;
2424

Documentation/devicetree/bindings/iio/pressure/hp03.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Required properties:
1010

1111
Example:
1212

13-
hp03@0x77 {
13+
hp03@77 {
1414
compatible = "hoperf,hp03";
1515
reg = <0x77>;
1616
xclr-gpio = <&portc 0 0x0>;

Documentation/devicetree/bindings/input/touchscreen/bu21013.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Optional properties:
1515
Example:
1616

1717
i2c@80110000 {
18-
bu21013_tp@0x5c {
18+
bu21013_tp@5c {
1919
compatible = "rohm,bu21013_tp";
2020
reg = <0x5c>;
2121
touch-gpio = <&gpio2 20 0x4>;

Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,15 +155,15 @@ Example:
155155
<0x0 0xe112f000 0 0x02000>,
156156
<0x0 0xe1140000 0 0x10000>,
157157
<0x0 0xe1160000 0 0x10000>;
158-
v2m0: v2m@0x8000 {
158+
v2m0: v2m@8000 {
159159
compatible = "arm,gic-v2m-frame";
160160
msi-controller;
161161
reg = <0x0 0x80000 0 0x1000>;
162162
};
163163

164164
....
165165

166-
v2mN: v2m@0x9000 {
166+
v2mN: v2m@9000 {
167167
compatible = "arm,gic-v2m-frame";
168168
msi-controller;
169169
reg = <0x0 0x90000 0 0x1000>;

Documentation/devicetree/bindings/interrupt-controller/img,meta-intc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Example 2:
7171
* An interrupt generating device that is wired to a Meta external
7272
* trigger block.
7373
*/
74-
uart1: uart@0x02004c00 {
74+
uart1: uart@02004c00 {
7575
// Interrupt source '5' that is level-sensitive.
7676
// Note that there are only two cells as specified in the
7777
// interrupt parent's '#interrupt-cells' property.

Documentation/devicetree/bindings/interrupt-controller/img,pdc-intc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Example 1:
5151
/*
5252
* TZ1090 PDC block
5353
*/
54-
pdc: pdc@0x02006000 {
54+
pdc: pdc@02006000 {
5555
// This is an interrupt controller node.
5656
interrupt-controller;
5757

Documentation/devicetree/bindings/interrupt-controller/st,spear3xx-shirq.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Example:
3939

4040
The following is an example from the SPEAr320 SoC dtsi file.
4141

42-
shirq: interrupt-controller@0xb3000000 {
42+
shirq: interrupt-controller@b3000000 {
4343
compatible = "st,spear320-shirq";
4444
reg = <0xb3000000 0x1000>;
4545
interrupts = <28 29 30 1>;

Documentation/devicetree/bindings/mailbox/altera-mailbox.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ Optional properties:
1414
depends on the interrupt controller parent.
1515

1616
Example:
17-
mbox_tx: mailbox@0x100 {
17+
mbox_tx: mailbox@100 {
1818
compatible = "altr,mailbox-1.0";
1919
reg = <0x100 0x8>;
2020
interrupt-parent = < &gic_0 >;
2121
interrupts = <5>;
2222
#mbox-cells = <1>;
2323
};
2424

25-
mbox_rx: mailbox@0x200 {
25+
mbox_rx: mailbox@200 {
2626
compatible = "altr,mailbox-1.0";
2727
reg = <0x200 0x8>;
2828
interrupt-parent = < &gic_0 >;
@@ -40,7 +40,7 @@ support only one channel).The equivalent "mbox-names" property value can be
4040
used to give a name to the communication channel to be used by the client user.
4141

4242
Example:
43-
mclient0: mclient0@0x400 {
43+
mclient0: mclient0@400 {
4444
compatible = "client-1.0";
4545
reg = <0x400 0x10>;
4646
mbox-names = "mbox-tx", "mbox-rx";

Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Optional properties:
1515
- brcm,use-bcm-hdr: present if a BCM header precedes each frame.
1616

1717
Example:
18-
pdc0: iproc-pdc0@0x612c0000 {
18+
pdc0: iproc-pdc0@612c0000 {
1919
compatible = "brcm,iproc-pdc-mbox";
2020
reg = <0 0x612c0000 0 0x445>; /* PDC FS0 regs */
2121
interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;

Documentation/devicetree/bindings/media/exynos5-gsc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Optional properties:
1717

1818
Example:
1919

20-
gsc_0: gsc@0x13e00000 {
20+
gsc_0: gsc@13e00000 {
2121
compatible = "samsung,exynos5250-gsc";
2222
reg = <0x13e00000 0x1000>;
2323
interrupts = <0 85 0>;

Documentation/devicetree/bindings/media/mediatek-vcodec.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ vcodec_dec: vcodec@16000000 {
6868
"vdec_bus_clk_src";
6969
};
7070

71-
vcodec_enc: vcodec@0x18002000 {
71+
vcodec_enc: vcodec@18002000 {
7272
compatible = "mediatek,mt8173-vcodec-enc";
7373
reg = <0 0x18002000 0 0x1000>, /*VENC_SYS*/
7474
<0 0x19002000 0 0x1000>; /*VENC_LT_SYS*/

Documentation/devicetree/bindings/media/rcar_vin.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Device node example
4444
vin0 = &vin0;
4545
};
4646

47-
vin0: vin@0xe6ef0000 {
47+
vin0: vin@e6ef0000 {
4848
compatible = "renesas,vin-r8a7790", "renesas,rcar-gen2-vin";
4949
clocks = <&mstp8_clks R8A7790_CLK_VIN0>;
5050
reg = <0 0xe6ef0000 0 0x1000>;

Documentation/devicetree/bindings/media/samsung-fimc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Example:
138138
};
139139

140140
/* MIPI CSI-2 bus IF sensor */
141-
s5c73m3: sensor@0x1a {
141+
s5c73m3: sensor@1a {
142142
compatible = "samsung,s5c73m3";
143143
reg = <0x1a>;
144144
vddio-supply = <...>;

Documentation/devicetree/bindings/media/sh_mobile_ceu.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Bindings, specific for the sh_mobile_ceu_camera.c driver:
88

99
Example:
1010

11-
ceu0: ceu@0xfe910000 {
11+
ceu0: ceu@fe910000 {
1212
compatible = "renesas,sh-mobile-ceu";
1313
reg = <0xfe910000 0xa0>;
1414
interrupt-parent = <&intcs>;

Documentation/devicetree/bindings/media/video-interfaces.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ imx074 is linked to ceu0 through the MIPI CSI-2 receiver (csi2). ceu0 has a
154154
'port' node which may indicate that at any time only one of the following data
155155
pipelines can be active: ov772x -> ceu0 or imx074 -> csi2 -> ceu0.
156156

157-
ceu0: ceu@0xfe910000 {
157+
ceu0: ceu@fe910000 {
158158
compatible = "renesas,sh-mobile-ceu";
159159
reg = <0xfe910000 0xa0>;
160160
interrupts = <0x880>;
@@ -193,9 +193,9 @@ pipelines can be active: ov772x -> ceu0 or imx074 -> csi2 -> ceu0.
193193
};
194194
};
195195

196-
i2c0: i2c@0xfff20000 {
196+
i2c0: i2c@fff20000 {
197197
...
198-
ov772x_1: camera@0x21 {
198+
ov772x_1: camera@21 {
199199
compatible = "ovti,ov772x";
200200
reg = <0x21>;
201201
vddio-supply = <&regulator1>;
@@ -219,7 +219,7 @@ pipelines can be active: ov772x -> ceu0 or imx074 -> csi2 -> ceu0.
219219
};
220220
};
221221

222-
imx074: camera@0x1a {
222+
imx074: camera@1a {
223223
compatible = "sony,imx074";
224224
reg = <0x1a>;
225225
vddio-supply = <&regulator1>;
@@ -239,7 +239,7 @@ pipelines can be active: ov772x -> ceu0 or imx074 -> csi2 -> ceu0.
239239
};
240240
};
241241

242-
csi2: csi2@0xffc90000 {
242+
csi2: csi2@ffc90000 {
243243
compatible = "renesas,sh-mobile-csi2";
244244
reg = <0xffc90000 0x1000>;
245245
interrupts = <0x17a0>;

Documentation/devicetree/bindings/memory-controllers/ti/emif.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Optional properties:
4646

4747
Example:
4848

49-
emif1: emif@0x4c000000 {
49+
emif1: emif@4c000000 {
5050
compatible = "ti,emif-4d";
5151
ti,hwmods = "emif2";
5252
phy-type = <1>;

0 commit comments

Comments
 (0)