diff options
author | Mathias Kresin <dev@kresin.me> | 2018-01-01 17:58:30 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-02-20 19:25:17 +0100 |
commit | f519fea4c6dbffc9824b0084b8d720507793754d (patch) | |
tree | 2ecfbcddc029712907717ee5faa9a92b06947b72 /target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi | |
parent | 82ae68be70a666618e080c56aa57af41859469b8 (diff) | |
download | upstream-f519fea4c6dbffc9824b0084b8d720507793754d.tar.gz upstream-f519fea4c6dbffc9824b0084b8d720507793754d.tar.bz2 upstream-f519fea4c6dbffc9824b0084b8d720507793754d.zip |
lantiq: kernel 4.14: cleanup dts files
Move common used parts to dtsi. Add labels to nodes and reference nodes
via labels in dts files.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi')
-rw-r--r-- | target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi | 90 |
1 files changed, 49 insertions, 41 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi index 2638a4b268..0ed1d4cce2 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi @@ -23,12 +23,12 @@ device_type = "memory"; }; - biu@1F800000 { + biu@1f800000 { #address-cells = <1>; #size-cells = <1>; compatible = "lantiq,biu", "simple-bus"; - reg = <0x1F800000 0x800000>; - ranges = <0x0 0x1F800000 0x7FFFFF>; + reg = <0x1f800000 0x800000>; + ranges = <0x0 0x1f800000 0x7fffff>; icu0: icu@80200 { #interrupt-cells = <1>; @@ -41,18 +41,18 @@ 0x802a0 0x28>; }; - watchdog@803F0 { + watchdog@803f0 { compatible = "lantiq,wdt"; - reg = <0x803F0 0x10>; + reg = <0x803f0 0x10>; }; }; - sram@1F000000 { + sram@1f000000 { #address-cells = <1>; #size-cells = <1>; compatible = "lantiq,sram", "simple-bus"; - reg = <0x1F000000 0x800000>; - ranges = <0x0 0x1F000000 0x7FFFFF>; + reg = <0x1f000000 0x800000>; + ranges = <0x0 0x1f000000 0x7fffff>; eiu0: eiu@101000 { #interrupt-cells = <1>; @@ -84,10 +84,10 @@ #address-cells = <1>; #size-cells = <1>; compatible = "lantiq,fpi", "simple-bus"; - ranges = <0x0 0x10000000 0xEEFFFFF>; - reg = <0x10000000 0xEF00000>; + ranges = <0x0 0x10000000 0xeefffff>; + reg = <0x10000000 0xef00000>; - localbus@0 { + localbus: localbus@0 { #address-cells = <2>; #size-cells = <1>; ranges = <0 0 0x0 0x3ffffff /* addrsel0 */ @@ -95,24 +95,24 @@ compatible = "lantiq,localbus", "simple-bus"; }; - gptu@E100A00 { + gptu@e100a00 { compatible = "lantiq,gptu-xway"; - reg = <0xE100A00 0x100>; + reg = <0xe100a00 0x100>; interrupt-parent = <&icu0>; interrupts = <126 127 128 129 130 131>; }; - asc0: serial@E100400 { + asc0: serial@e100400 { compatible = "lantiq,asc"; - reg = <0xE100400 0x400>; + reg = <0xe100400 0x400>; interrupt-parent = <&icu0>; interrupts = <104 105 106>; status = "disabled"; }; - spi: spi@E100800 { + spi: spi@e100800 { compatible = "lantiq,xrx100-spi"; - reg = <0xE100800 0x100>; + reg = <0xe100800 0x100>; interrupt-parent = <&icu0>; interrupts = <22 23 24>; interrupt-names = "spi_rx", "spi_tx", "spi_err", @@ -122,77 +122,85 @@ status = "disabled"; }; - gpio: pinmux@E100B10 { + gpio: pinmux@e100b10 { compatible = "lantiq,xrx100-pinctrl"; #gpio-cells = <2>; gpio-controller; - reg = <0xE100B10 0xA0>; + reg = <0xe100b10 0xa0>; }; - asc1: serial@E100C00 { + stp: stp@e100bb0 { + #gpio-cells = <2>; + compatible = "lantiq,gpio-stp-xway"; + gpio-controller; + reg = <0xe100bb0 0x40>; + status = "disabled"; + }; + + asc1: serial@e100c00 { compatible = "lantiq,asc"; - reg = <0xE100C00 0x400>; + reg = <0xe100c00 0x400>; interrupt-parent = <&icu0>; interrupts = <112 113 114>; }; - ifxhcd@E101000 { + usb0: ifxhcd@e101000 { compatible = "lantiq,arx100-usb", "lantiq,ifxhcd-arx100"; - reg = <0xE101000 0x1000 - 0xE120000 0x3f000>; + reg = <0xe101000 0x1000 + 0xe120000 0x3f000>; interrupt-parent = <&icu0>; interrupts = <62 91>; dr_mode = "host"; status = "disabled"; }; - ifxhcd@E106000 { + usb1: ifxhcd@e106000 { compatible = "lantiq,arx100-usb"; - reg = <0xE106000 0x1000 - 0xE1E0000 0x3f000>; + reg = <0xe106000 0x1000 + 0xe1e0000 0x3f000>; interrupt-parent = <&icu0>; interrupts = <91>; dr_mode = "host"; status = "disabled"; }; - deu@E103100 { + deu@e103100 { compatible = "lantiq,deu-arx100"; - reg = <0xE103100 0xf00>; + reg = <0xe103100 0xf00>; }; - dma0: dma@E104100 { + dma0: dma@e104100 { compatible = "lantiq,dma-xway"; - reg = <0xE104100 0x800>; + reg = <0xe104100 0x800>; }; - ebu0: ebu@E105300 { + ebu0: ebu@e105300 { compatible = "lantiq,ebu-xway"; - reg = <0xE105300 0x100>; + reg = <0xe105300 0x100>; }; - mei@E116000 { + mei@e116000 { compatible = "lantiq,mei-xway"; interrupt-parent = <&icu0>; interrupts = <63>; }; - etop@E180000 { + gsw: etop@e180000 { compatible = "lantiq,etop-xway"; - reg = <0xE180000 0x40000 - 0xE108000 0x200>; + reg = <0xe180000 0x40000 + 0xe108000 0x200>; interrupt-parent = <&icu0>; interrupts = <73 72>; mac-address = [ 00 11 22 33 44 55 ]; }; - ppe@E234000 { + ppe@e234000 { compatible = "lantiq,ppe-arx100"; interrupt-parent = <&icu0>; interrupts = <96>; }; - pci0: pci@E105400 { + pci0: pci@e105400 { status = "disabled"; #address-cells = <3>; #size-cells = <2>; @@ -200,9 +208,9 @@ compatible = "lantiq,pci-xway"; bus-range = <0x0 0x0>; ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */ - 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */ + 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */ reg = <0x7000000 0x8000 /* config space */ - 0xE105400 0x400>; /* pci bridge */ + 0xe105400 0x400>; /* pci bridge */ lantiq,bus-clock = <33333333>; interrupt-map-mask = <0xf800 0x0 0x0 0x7>; interrupt-map = <0x7000 0 0 1 &icu0 30 1>; |