Skip to content
Snippets Groups Projects
Commit afc3bca4 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Use lower case hex in unit-addresses


DT unit addresses should be lower case hex. Fix all the
binding examples.

Converted with the following command from Krzysztof Kozlowski:

sed -e 's/@\([a-fA-F0-9_-]*\) {/@\L\1 {/' -i $(find Documentation/devicetree/bindings -name '*.txt')

Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 81ee6f1e
No related branches found
No related tags found
No related merge requests found
Showing
with 22 additions and 22 deletions
...@@ -55,7 +55,7 @@ Note: child nodes can be added for auto probing from device tree. ...@@ -55,7 +55,7 @@ Note: child nodes can be added for auto probing from device tree.
Example: adding device info in dtsi file Example: adding device info in dtsi file
adc: adc@12D10000 { adc: adc@12d10000 {
compatible = "samsung,exynos-adc-v1"; compatible = "samsung,exynos-adc-v1";
reg = <0x12D10000 0x100>; reg = <0x12D10000 0x100>;
interrupts = <0 106 0>; interrupts = <0 106 0>;
...@@ -71,7 +71,7 @@ adc: adc@12D10000 { ...@@ -71,7 +71,7 @@ adc: adc@12D10000 {
Example: adding device info in dtsi file for Exynos3250 with additional sclk Example: adding device info in dtsi file for Exynos3250 with additional sclk
adc: adc@126C0000 { adc: adc@126c0000 {
compatible = "samsung,exynos3250-adc", "samsung,exynos-adc-v2; compatible = "samsung,exynos3250-adc", "samsung,exynos-adc-v2;
reg = <0x126C0000 0x100>; reg = <0x126C0000 0x100>;
interrupts = <0 137 0>; interrupts = <0 137 0>;
...@@ -87,7 +87,7 @@ adc: adc@126C0000 { ...@@ -87,7 +87,7 @@ adc: adc@126C0000 {
Example: Adding child nodes in dts file Example: Adding child nodes in dts file
adc@12D10000 { adc@12d10000 {
/* NTC thermistor is a hwmon device */ /* NTC thermistor is a hwmon device */
ncp15wb473@0 { ncp15wb473@0 {
......
...@@ -72,7 +72,7 @@ Optional nodes: ...@@ -72,7 +72,7 @@ Optional nodes:
- compatible: only "samsung,secure-firmware" is currently supported - compatible: only "samsung,secure-firmware" is currently supported
- reg: address of non-secure SYSRAM used for communication with firmware - reg: address of non-secure SYSRAM used for communication with firmware
firmware@203F000 { firmware@203f000 {
compatible = "samsung,secure-firmware"; compatible = "samsung,secure-firmware";
reg = <0x0203F000 0x1000>; reg = <0x0203F000 0x1000>;
}; };
...@@ -32,7 +32,7 @@ Example 1: Examples of clock controller nodes are listed below. ...@@ -32,7 +32,7 @@ Example 1: Examples of clock controller nodes are listed below.
#clock-cells = <1>; #clock-cells = <1>;
}; };
cmu_dmc: clock-controller@105C0000 { cmu_dmc: clock-controller@105c0000 {
compatible = "samsung,exynos3250-cmu-dmc"; compatible = "samsung,exynos3250-cmu-dmc";
reg = <0x105C0000 0x2000>; reg = <0x105C0000 0x2000>;
#clock-cells = <1>; #clock-cells = <1>;
......
...@@ -180,7 +180,7 @@ Example 2: UART controller node that consumes the clock generated by the ...@@ -180,7 +180,7 @@ Example 2: UART controller node that consumes the clock generated by the
peri clock controller. Refer to the standard clock bindings for peri clock controller. Refer to the standard clock bindings for
information about 'clocks' and 'clock-names' property. information about 'clocks' and 'clock-names' property.
serial@12C00000 { serial@12c00000 {
compatible = "samsung,exynos4210-uart"; compatible = "samsung,exynos4210-uart";
reg = <0x12C00000 0x100>; reg = <0x12C00000 0x100>;
interrupts = <0 146 0>; interrupts = <0 146 0>;
......
...@@ -41,7 +41,7 @@ Example 2: UART controller node that consumes the clock generated by the clock ...@@ -41,7 +41,7 @@ Example 2: UART controller node that consumes the clock generated by the clock
controller. Refer to the standard clock bindings for information controller. Refer to the standard clock bindings for information
about 'clocks' and 'clock-names' property. about 'clocks' and 'clock-names' property.
serial@12C20000 { serial@12c20000 {
compatible = "samsung,exynos4210-uart"; compatible = "samsung,exynos4210-uart";
reg = <0x12C00000 0x100>; reg = <0x12C00000 0x100>;
interrupts = <0 51 0>; interrupts = <0 51 0>;
......
...@@ -472,7 +472,7 @@ Example 2: Examples of clock controller nodes are listed below. ...@@ -472,7 +472,7 @@ Example 2: Examples of clock controller nodes are listed below.
Example 3: UART controller node that consumes the clock generated by the clock Example 3: UART controller node that consumes the clock generated by the clock
controller. controller.
serial_0: serial@14C10000 { serial_0: serial@14c10000 {
compatible = "samsung,exynos5433-uart"; compatible = "samsung,exynos5433-uart";
reg = <0x14C10000 0x100>; reg = <0x14C10000 0x100>;
interrupts = <0 421 0>; interrupts = <0 421 0>;
......
...@@ -75,7 +75,7 @@ Required properties: ...@@ -75,7 +75,7 @@ Required properties:
- clock-frequency: must be present in the i2c controller node. - clock-frequency: must be present in the i2c controller node.
Example: Example:
atecc508a@C0 { atecc508a@c0 {
compatible = "atmel,atecc508a"; compatible = "atmel,atecc508a";
reg = <0xC0>; reg = <0xC0>;
}; };
...@@ -20,7 +20,7 @@ Optional properties: ...@@ -20,7 +20,7 @@ Optional properties:
Example : NoC Probe nodes in Device Tree are listed below. Example : NoC Probe nodes in Device Tree are listed below.
nocp_mem0_0: nocp@10CA1000 { nocp_mem0_0: nocp@10ca1000 {
compatible = "samsung,exynos5420-nocp"; compatible = "samsung,exynos5420-nocp";
reg = <0x10CA1000 0x200>; reg = <0x10CA1000 0x200>;
}; };
...@@ -54,7 +54,7 @@ Video interfaces: ...@@ -54,7 +54,7 @@ Video interfaces:
Example: Example:
dsi@11C80000 { dsi@11c80000 {
compatible = "samsung,exynos4210-mipi-dsi"; compatible = "samsung,exynos4210-mipi-dsi";
reg = <0x11C80000 0x10000>; reg = <0x11C80000 0x10000>;
interrupts = <0 79 0>; interrupts = <0 79 0>;
......
...@@ -119,7 +119,7 @@ Example: ...@@ -119,7 +119,7 @@ Example:
/ { / {
... ...
vtg_main_slave: sti-vtg-main-slave@fe85A800 { vtg_main_slave: sti-vtg-main-slave@fe85a800 {
compatible = "st,vtg"; compatible = "st,vtg";
reg = <0xfe85A800 0x300>; reg = <0xfe85A800 0x300>;
interrupts = <GIC_SPI 175 IRQ_TYPE_NONE>; interrupts = <GIC_SPI 175 IRQ_TYPE_NONE>;
......
...@@ -15,7 +15,7 @@ Optional properties: ...@@ -15,7 +15,7 @@ Optional properties:
Example: Example:
dma: dma-controller@801C0000 { dma: dma-controller@801c0000 {
compatible = "stericsson,db8500-dma40", "stericsson,dma40"; compatible = "stericsson,db8500-dma40", "stericsson,dma40";
reg = <0x801C0000 0x1000 0x40010000 0x800>; reg = <0x801C0000 0x1000 0x40010000 0x800>;
reg-names = "base", "lcpa"; reg-names = "base", "lcpa";
......
...@@ -21,7 +21,7 @@ Documentation/devicetree/bindings/gpio/gpio.txt ...@@ -21,7 +21,7 @@ Documentation/devicetree/bindings/gpio/gpio.txt
Example: Example:
gpioa: gpio@FF140000 { gpioa: gpio@ff140000 {
compatible = "abilis,tb10x-gpio"; compatible = "abilis,tb10x-gpio";
interrupt-controller; interrupt-controller;
#interrupt-cells = <1>; #interrupt-cells = <1>;
......
...@@ -27,7 +27,7 @@ Optional properties: ...@@ -27,7 +27,7 @@ Optional properties:
Example: Example:
gpio1: stp@E100BB0 { gpio1: stp@e100bb0 {
compatible = "lantiq,gpio-stp-xway"; compatible = "lantiq,gpio-stp-xway";
reg = <0xE100BB0 0x40>; reg = <0xE100BB0 0x40>;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -290,7 +290,7 @@ pins 50..69. ...@@ -290,7 +290,7 @@ pins 50..69.
Example 2: Example 2:
gpio_pio_i: gpio-controller@14B0 { gpio_pio_i: gpio-controller@14b0 {
#gpio-cells = <2>; #gpio-cells = <2>;
compatible = "fsl,qe-pario-bank-e", "fsl,qe-pario-bank"; compatible = "fsl,qe-pario-bank-e", "fsl,qe-pario-bank";
reg = <0x1480 0x18>; reg = <0x1480 0x18>;
......
...@@ -54,7 +54,7 @@ Optional properties: ...@@ -54,7 +54,7 @@ Optional properties:
Example: Example:
i2c@12CA0000 { i2c@12ca0000 {
compatible = "acme,some-i2c-device"; compatible = "acme,some-i2c-device";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -11,7 +11,7 @@ Required properties: ...@@ -11,7 +11,7 @@ Required properties:
Examples: Examples:
lpi2c7: lpi2c7@40A50000 { lpi2c7: lpi2c7@40a50000 {
compatible = "fsl,imx8dv-lpi2c"; compatible = "fsl,imx8dv-lpi2c";
reg = <0x40A50000 0x10000>; reg = <0x40A50000 0x10000>;
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
......
...@@ -45,7 +45,7 @@ Optional Properties specific to linux: ...@@ -45,7 +45,7 @@ Optional Properties specific to linux:
Example: Example:
keypad@100A0000 { keypad@100a0000 {
compatible = "samsung,s5pv210-keypad"; compatible = "samsung,s5pv210-keypad";
reg = <0x100A0000 0x100>; reg = <0x100A0000 0x100>;
interrupts = <173>; interrupts = <173>;
......
...@@ -66,7 +66,7 @@ Example: An example of touchscreen node ...@@ -66,7 +66,7 @@ Example: An example of touchscreen node
reg = <0x180a6000 0xc30>; reg = <0x180a6000 0xc30>;
}; };
touchscreen: touchscreen@180A6000 { touchscreen: touchscreen@180a6000 {
compatible = "brcm,iproc-touchscreen"; compatible = "brcm,iproc-touchscreen";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -56,7 +56,7 @@ Examples: ...@@ -56,7 +56,7 @@ Examples:
iommus = <&sysmmu_gsc0>; iommus = <&sysmmu_gsc0>;
}; };
sysmmu_gsc0: sysmmu@13E80000 { sysmmu_gsc0: sysmmu@13e80000 {
compatible = "samsung,exynos-sysmmu"; compatible = "samsung,exynos-sysmmu";
reg = <0x13E80000 0x1000>; reg = <0x13E80000 0x1000>;
interrupt-parent = <&combiner>; interrupt-parent = <&combiner>;
......
...@@ -124,7 +124,7 @@ dsp { ...@@ -124,7 +124,7 @@ dsp {
}; };
/* AM33xx */ /* AM33xx */
mailbox: mailbox@480C8000 { mailbox: mailbox@480c8000 {
compatible = "ti,omap4-mailbox"; compatible = "ti,omap4-mailbox";
reg = <0x480C8000 0x200>; reg = <0x480C8000 0x200>;
interrupts = <77>; interrupts = <77>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment