diff options
| author | Andrew Bresticker <abrestic@chromium.org> | 2014-08-21 16:04:25 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2014-09-22 07:35:50 -0400 |
| commit | 36094619e419c306dc08d83f043bc9937cc63e03 (patch) | |
| tree | 05a23c4a221fb929626d1a17dce4eb67462620b3 /arch/mips/netlogic | |
| parent | f262b5f2d5820799fd58ae08eee4ec3fc97686ab (diff) | |
MIPS: Netlogic: Move device-trees to arch/mips/boot/dts/
Move the Netlogic XLP device-trees to arch/mips/boot/dts/ and update the
Makefiles accordingly. A built-in device-tree is optional, so select
BUILTIN_DTB when it is requested.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: David Daney <david.daney@cavium.com>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jayachandran C <jchandra@broadcom.com>
Cc: Qais Yousef <qais.yousef@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7560/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic')
| -rw-r--r-- | arch/mips/netlogic/Kconfig | 4 | ||||
| -rw-r--r-- | arch/mips/netlogic/Makefile | 1 | ||||
| -rw-r--r-- | arch/mips/netlogic/dts/Makefile | 4 | ||||
| -rw-r--r-- | arch/mips/netlogic/dts/xlp_evp.dts | 118 | ||||
| -rw-r--r-- | arch/mips/netlogic/dts/xlp_fvp.dts | 118 | ||||
| -rw-r--r-- | arch/mips/netlogic/dts/xlp_gvp.dts | 77 | ||||
| -rw-r--r-- | arch/mips/netlogic/dts/xlp_svp.dts | 118 |
7 files changed, 4 insertions, 436 deletions
diff --git a/arch/mips/netlogic/Kconfig b/arch/mips/netlogic/Kconfig index 4eb683aef7d7..0823321c10e0 100644 --- a/arch/mips/netlogic/Kconfig +++ b/arch/mips/netlogic/Kconfig | |||
| @@ -4,6 +4,7 @@ if NLM_XLP_BOARD | |||
| 4 | config DT_XLP_EVP | 4 | config DT_XLP_EVP |
| 5 | bool "Built-in device tree for XLP EVP boards" | 5 | bool "Built-in device tree for XLP EVP boards" |
| 6 | default y | 6 | default y |
| 7 | select BUILTIN_DTB | ||
| 7 | help | 8 | help |
| 8 | Add an FDT blob for XLP EVP boards into the kernel. | 9 | Add an FDT blob for XLP EVP boards into the kernel. |
| 9 | This DTB will be used if the firmware does not pass in a DTB | 10 | This DTB will be used if the firmware does not pass in a DTB |
| @@ -13,6 +14,7 @@ config DT_XLP_EVP | |||
| 13 | config DT_XLP_SVP | 14 | config DT_XLP_SVP |
| 14 | bool "Built-in device tree for XLP SVP boards" | 15 | bool "Built-in device tree for XLP SVP boards" |
| 15 | default y | 16 | default y |
| 17 | select BUILTIN_DTB | ||
| 16 | help | 18 | help |
| 17 | Add an FDT blob for XLP VP boards into the kernel. | 19 | Add an FDT blob for XLP VP boards into the kernel. |
| 18 | This DTB will be used if the firmware does not pass in a DTB | 20 | This DTB will be used if the firmware does not pass in a DTB |
| @@ -22,6 +24,7 @@ config DT_XLP_SVP | |||
| 22 | config DT_XLP_FVP | 24 | config DT_XLP_FVP |
| 23 | bool "Built-in device tree for XLP FVP boards" | 25 | bool "Built-in device tree for XLP FVP boards" |
| 24 | default y | 26 | default y |
| 27 | select BUILTIN_DTB | ||
| 25 | help | 28 | help |
| 26 | Add an FDT blob for XLP FVP board into the kernel. | 29 | Add an FDT blob for XLP FVP board into the kernel. |
| 27 | This DTB will be used if the firmware does not pass in a DTB | 30 | This DTB will be used if the firmware does not pass in a DTB |
| @@ -31,6 +34,7 @@ config DT_XLP_FVP | |||
| 31 | config DT_XLP_GVP | 34 | config DT_XLP_GVP |
| 32 | bool "Built-in device tree for XLP GVP boards" | 35 | bool "Built-in device tree for XLP GVP boards" |
| 33 | default y | 36 | default y |
| 37 | select BUILTIN_DTB | ||
| 34 | help | 38 | help |
| 35 | Add an FDT blob for XLP GVP board into the kernel. | 39 | Add an FDT blob for XLP GVP board into the kernel. |
| 36 | This DTB will be used if the firmware does not pass in a DTB | 40 | This DTB will be used if the firmware does not pass in a DTB |
diff --git a/arch/mips/netlogic/Makefile b/arch/mips/netlogic/Makefile index 7602d1386614..36d169b2ca6d 100644 --- a/arch/mips/netlogic/Makefile +++ b/arch/mips/netlogic/Makefile | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | obj-$(CONFIG_NLM_COMMON) += common/ | 1 | obj-$(CONFIG_NLM_COMMON) += common/ |
| 2 | obj-$(CONFIG_CPU_XLR) += xlr/ | 2 | obj-$(CONFIG_CPU_XLR) += xlr/ |
| 3 | obj-$(CONFIG_CPU_XLP) += xlp/ | 3 | obj-$(CONFIG_CPU_XLP) += xlp/ |
| 4 | obj-$(CONFIG_CPU_XLP) += dts/ | ||
diff --git a/arch/mips/netlogic/dts/Makefile b/arch/mips/netlogic/dts/Makefile deleted file mode 100644 index 25c8e873ee25..000000000000 --- a/arch/mips/netlogic/dts/Makefile +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | obj-$(CONFIG_DT_XLP_EVP) := xlp_evp.dtb.o | ||
| 2 | obj-$(CONFIG_DT_XLP_SVP) += xlp_svp.dtb.o | ||
| 3 | obj-$(CONFIG_DT_XLP_FVP) += xlp_fvp.dtb.o | ||
| 4 | obj-$(CONFIG_DT_XLP_GVP) += xlp_gvp.dtb.o | ||
diff --git a/arch/mips/netlogic/dts/xlp_evp.dts b/arch/mips/netlogic/dts/xlp_evp.dts deleted file mode 100644 index 89ad04808c02..000000000000 --- a/arch/mips/netlogic/dts/xlp_evp.dts +++ /dev/null | |||
| @@ -1,118 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * XLP8XX Device Tree Source for EVP boards | ||
| 3 | */ | ||
| 4 | |||
| 5 | /dts-v1/; | ||
| 6 | / { | ||
| 7 | model = "netlogic,XLP-EVP"; | ||
| 8 | compatible = "netlogic,xlp"; | ||
| 9 | #address-cells = <2>; | ||
| 10 | #size-cells = <2>; | ||
| 11 | |||
| 12 | soc { | ||
| 13 | #address-cells = <2>; | ||
| 14 | #size-cells = <1>; | ||
| 15 | compatible = "simple-bus"; | ||
| 16 | ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG | ||
| 17 | 1 0 0 0x16000000 0x02000000>; // GBU chipselects | ||
| 18 | |||
| 19 | serial0: serial@30000 { | ||
| 20 | device_type = "serial"; | ||
| 21 | compatible = "ns16550"; | ||
| 22 | reg = <0 0x30100 0xa00>; | ||
| 23 | reg-shift = <2>; | ||
| 24 | reg-io-width = <4>; | ||
| 25 | clock-frequency = <133333333>; | ||
| 26 | interrupt-parent = <&pic>; | ||
| 27 | interrupts = <17>; | ||
| 28 | }; | ||
| 29 | serial1: serial@31000 { | ||
| 30 | device_type = "serial"; | ||
| 31 | compatible = "ns16550"; | ||
| 32 | reg = <0 0x31100 0xa00>; | ||
| 33 | reg-shift = <2>; | ||
| 34 | reg-io-width = <4>; | ||
| 35 | clock-frequency = <133333333>; | ||
| 36 | interrupt-parent = <&pic>; | ||
| 37 | interrupts = <18>; | ||
| 38 | }; | ||
| 39 | i2c0: ocores@32000 { | ||
| 40 | compatible = "opencores,i2c-ocores"; | ||
| 41 | #address-cells = <1>; | ||
| 42 | #size-cells = <0>; | ||
| 43 | reg = <0 0x32100 0xa00>; | ||
| 44 | reg-shift = <2>; | ||
| 45 | reg-io-width = <4>; | ||
| 46 | clock-frequency = <32000000>; | ||
| 47 | interrupt-parent = <&pic>; | ||
| 48 | interrupts = <30>; | ||
| 49 | }; | ||
| 50 | i2c1: ocores@33000 { | ||
| 51 | compatible = "opencores,i2c-ocores"; | ||
| 52 | #address-cells = <1>; | ||
| 53 | #size-cells = <0>; | ||
| 54 | reg = <0 0x33100 0xa00>; | ||
| 55 | reg-shift = <2>; | ||
| 56 | reg-io-width = <4>; | ||
| 57 | clock-frequency = <32000000>; | ||
| 58 | interrupt-parent = <&pic>; | ||
| 59 | interrupts = <31>; | ||
| 60 | |||
| 61 | rtc@68 { | ||
| 62 | compatible = "dallas,ds1374"; | ||
| 63 | reg = <0x68>; | ||
| 64 | }; | ||
| 65 | |||
| 66 | dtt@4c { | ||
| 67 | compatible = "national,lm90"; | ||
| 68 | reg = <0x4c>; | ||
| 69 | }; | ||
| 70 | }; | ||
| 71 | pic: pic@4000 { | ||
| 72 | compatible = "netlogic,xlp-pic"; | ||
| 73 | #address-cells = <0>; | ||
| 74 | #interrupt-cells = <1>; | ||
| 75 | reg = <0 0x4000 0x200>; | ||
| 76 | interrupt-controller; | ||
| 77 | }; | ||
| 78 | |||
| 79 | nor_flash@1,0 { | ||
| 80 | compatible = "cfi-flash"; | ||
| 81 | #address-cells = <1>; | ||
| 82 | #size-cells = <1>; | ||
| 83 | bank-width = <2>; | ||
| 84 | reg = <1 0 0x1000000>; | ||
| 85 | |||
| 86 | partition@0 { | ||
| 87 | label = "x-loader"; | ||
| 88 | reg = <0x0 0x100000>; /* 1M */ | ||
| 89 | read-only; | ||
| 90 | }; | ||
| 91 | |||
| 92 | partition@100000 { | ||
| 93 | label = "u-boot"; | ||
| 94 | reg = <0x100000 0x100000>; /* 1M */ | ||
| 95 | }; | ||
| 96 | |||
| 97 | partition@200000 { | ||
| 98 | label = "kernel"; | ||
| 99 | reg = <0x200000 0x500000>; /* 5M */ | ||
| 100 | }; | ||
| 101 | |||
| 102 | partition@700000 { | ||
| 103 | label = "rootfs"; | ||
| 104 | reg = <0x700000 0x800000>; /* 8M */ | ||
| 105 | }; | ||
| 106 | |||
| 107 | partition@f00000 { | ||
| 108 | label = "env"; | ||
| 109 | reg = <0xf00000 0x100000>; /* 1M */ | ||
| 110 | read-only; | ||
| 111 | }; | ||
| 112 | }; | ||
| 113 | }; | ||
| 114 | |||
| 115 | chosen { | ||
| 116 | bootargs = "console=ttyS0,115200 rdinit=/sbin/init"; | ||
| 117 | }; | ||
| 118 | }; | ||
diff --git a/arch/mips/netlogic/dts/xlp_fvp.dts b/arch/mips/netlogic/dts/xlp_fvp.dts deleted file mode 100644 index 63e62b7bd758..000000000000 --- a/arch/mips/netlogic/dts/xlp_fvp.dts +++ /dev/null | |||
| @@ -1,118 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * XLP2XX Device Tree Source for FVP boards | ||
| 3 | */ | ||
| 4 | |||
| 5 | /dts-v1/; | ||
| 6 | / { | ||
| 7 | model = "netlogic,XLP-FVP"; | ||
| 8 | compatible = "netlogic,xlp"; | ||
| 9 | #address-cells = <2>; | ||
| 10 | #size-cells = <2>; | ||
| 11 | |||
| 12 | soc { | ||
| 13 | #address-cells = <2>; | ||
| 14 | #size-cells = <1>; | ||
| 15 | compatible = "simple-bus"; | ||
| 16 | ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG | ||
| 17 | 1 0 0 0x16000000 0x02000000>; // GBU chipselects | ||
| 18 | |||
| 19 | serial0: serial@30000 { | ||
| 20 | device_type = "serial"; | ||
| 21 | compatible = "ns16550"; | ||
| 22 | reg = <0 0x30100 0xa00>; | ||
| 23 | reg-shift = <2>; | ||
| 24 | reg-io-width = <4>; | ||
| 25 | clock-frequency = <133333333>; | ||
| 26 | interrupt-parent = <&pic>; | ||
| 27 | interrupts = <17>; | ||
| 28 | }; | ||
| 29 | serial1: serial@31000 { | ||
| 30 | device_type = "serial"; | ||
| 31 | compatible = "ns16550"; | ||
| 32 | reg = <0 0x31100 0xa00>; | ||
| 33 | reg-shift = <2>; | ||
| 34 | reg-io-width = <4>; | ||
| 35 | clock-frequency = <133333333>; | ||
| 36 | interrupt-parent = <&pic>; | ||
| 37 | interrupts = <18>; | ||
| 38 | }; | ||
| 39 | i2c0: ocores@37100 { | ||
| 40 | compatible = "opencores,i2c-ocores"; | ||
| 41 | #address-cells = <1>; | ||
| 42 | #size-cells = <0>; | ||
| 43 | reg = <0 0x37100 0x20>; | ||
| 44 | reg-shift = <2>; | ||
| 45 | reg-io-width = <4>; | ||
| 46 | clock-frequency = <32000000>; | ||
| 47 | interrupt-parent = <&pic>; | ||
| 48 | interrupts = <30>; | ||
| 49 | }; | ||
| 50 | i2c1: ocores@37120 { | ||
| 51 | compatible = "opencores,i2c-ocores"; | ||
| 52 | #address-cells = <1>; | ||
| 53 | #size-cells = <0>; | ||
| 54 | reg = <0 0x37120 0x20>; | ||
| 55 | reg-shift = <2>; | ||
| 56 | reg-io-width = <4>; | ||
| 57 | clock-frequency = <32000000>; | ||
| 58 | interrupt-parent = <&pic>; | ||
| 59 | interrupts = <31>; | ||
| 60 | |||
| 61 | rtc@68 { | ||
| 62 | compatible = "dallas,ds1374"; | ||
| 63 | reg = <0x68>; | ||
| 64 | }; | ||
| 65 | |||
| 66 | dtt@4c { | ||
| 67 | compatible = "national,lm90"; | ||
| 68 | reg = <0x4c>; | ||
| 69 | }; | ||
| 70 | }; | ||
| 71 | pic: pic@4000 { | ||
| 72 | compatible = "netlogic,xlp-pic"; | ||
| 73 | #address-cells = <0>; | ||
| 74 | #interrupt-cells = <1>; | ||
| 75 | reg = <0 0x4000 0x200>; | ||
| 76 | interrupt-controller; | ||
| 77 | }; | ||
| 78 | |||
| 79 | nor_flash@1,0 { | ||
| 80 | compatible = "cfi-flash"; | ||
| 81 | #address-cells = <1>; | ||
| 82 | #size-cells = <1>; | ||
| 83 | bank-width = <2>; | ||
| 84 | reg = <1 0 0x1000000>; | ||
| 85 | |||
| 86 | partition@0 { | ||
| 87 | label = "x-loader"; | ||
| 88 | reg = <0x0 0x100000>; /* 1M */ | ||
| 89 | read-only; | ||
| 90 | }; | ||
| 91 | |||
| 92 | partition@100000 { | ||
| 93 | label = "u-boot"; | ||
| 94 | reg = <0x100000 0x100000>; /* 1M */ | ||
| 95 | }; | ||
| 96 | |||
| 97 | partition@200000 { | ||
| 98 | label = "kernel"; | ||
| 99 | reg = <0x200000 0x500000>; /* 5M */ | ||
| 100 | }; | ||
| 101 | |||
| 102 | partition@700000 { | ||
| 103 | label = "rootfs"; | ||
| 104 | reg = <0x700000 0x800000>; /* 8M */ | ||
| 105 | }; | ||
| 106 | |||
| 107 | partition@f00000 { | ||
| 108 | label = "env"; | ||
| 109 | reg = <0xf00000 0x100000>; /* 1M */ | ||
| 110 | read-only; | ||
| 111 | }; | ||
| 112 | }; | ||
| 113 | }; | ||
| 114 | |||
| 115 | chosen { | ||
| 116 | bootargs = "console=ttyS0,115200 rdinit=/sbin/init"; | ||
| 117 | }; | ||
| 118 | }; | ||
diff --git a/arch/mips/netlogic/dts/xlp_gvp.dts b/arch/mips/netlogic/dts/xlp_gvp.dts deleted file mode 100644 index bb4ecd1d47fc..000000000000 --- a/arch/mips/netlogic/dts/xlp_gvp.dts +++ /dev/null | |||
| @@ -1,77 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * XLP9XX Device Tree Source for GVP boards | ||
| 3 | */ | ||
| 4 | |||
| 5 | /dts-v1/; | ||
| 6 | / { | ||
| 7 | model = "netlogic,XLP-GVP"; | ||
| 8 | compatible = "netlogic,xlp"; | ||
| 9 | #address-cells = <2>; | ||
| 10 | #size-cells = <2>; | ||
| 11 | |||
| 12 | soc { | ||
| 13 | #address-cells = <2>; | ||
| 14 | #size-cells = <1>; | ||
| 15 | compatible = "simple-bus"; | ||
| 16 | ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG | ||
| 17 | 1 0 0 0x16000000 0x02000000>; // GBU chipselects | ||
| 18 | |||
| 19 | serial0: serial@30000 { | ||
| 20 | device_type = "serial"; | ||
| 21 | compatible = "ns16550"; | ||
| 22 | reg = <0 0x112100 0xa00>; | ||
| 23 | reg-shift = <2>; | ||
| 24 | reg-io-width = <4>; | ||
| 25 | clock-frequency = <125000000>; | ||
| 26 | interrupt-parent = <&pic>; | ||
| 27 | interrupts = <17>; | ||
| 28 | }; | ||
| 29 | pic: pic@110000 { | ||
| 30 | compatible = "netlogic,xlp-pic"; | ||
| 31 | #address-cells = <0>; | ||
| 32 | #interrupt-cells = <1>; | ||
| 33 | reg = <0 0x110000 0x200>; | ||
| 34 | interrupt-controller; | ||
| 35 | }; | ||
| 36 | |||
| 37 | nor_flash@1,0 { | ||
| 38 | compatible = "cfi-flash"; | ||
| 39 | #address-cells = <1>; | ||
| 40 | #size-cells = <1>; | ||
| 41 | bank-width = <2>; | ||
| 42 | reg = <1 0 0x1000000>; | ||
| 43 | |||
| 44 | partition@0 { | ||
| 45 | label = "x-loader"; | ||
| 46 | reg = <0x0 0x100000>; /* 1M */ | ||
| 47 | read-only; | ||
| 48 | }; | ||
| 49 | |||
| 50 | partition@100000 { | ||
| 51 | label = "u-boot"; | ||
| 52 | reg = <0x100000 0x100000>; /* 1M */ | ||
| 53 | }; | ||
| 54 | |||
| 55 | partition@200000 { | ||
| 56 | label = "kernel"; | ||
| 57 | reg = <0x200000 0x500000>; /* 5M */ | ||
| 58 | }; | ||
| 59 | |||
| 60 | partition@700000 { | ||
| 61 | label = "rootfs"; | ||
| 62 | reg = <0x700000 0x800000>; /* 8M */ | ||
| 63 | }; | ||
| 64 | |||
| 65 | partition@f00000 { | ||
| 66 | label = "env"; | ||
| 67 | reg = <0xf00000 0x100000>; /* 1M */ | ||
| 68 | read-only; | ||
| 69 | }; | ||
| 70 | }; | ||
| 71 | |||
| 72 | }; | ||
| 73 | |||
| 74 | chosen { | ||
| 75 | bootargs = "console=ttyS0,115200 rdinit=/sbin/init"; | ||
| 76 | }; | ||
| 77 | }; | ||
diff --git a/arch/mips/netlogic/dts/xlp_svp.dts b/arch/mips/netlogic/dts/xlp_svp.dts deleted file mode 100644 index 1ebd00edaacc..000000000000 --- a/arch/mips/netlogic/dts/xlp_svp.dts +++ /dev/null | |||
| @@ -1,118 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * XLP3XX Device Tree Source for SVP boards | ||
| 3 | */ | ||
| 4 | |||
| 5 | /dts-v1/; | ||
| 6 | / { | ||
| 7 | model = "netlogic,XLP-SVP"; | ||
| 8 | compatible = "netlogic,xlp"; | ||
| 9 | #address-cells = <2>; | ||
| 10 | #size-cells = <2>; | ||
| 11 | |||
| 12 | soc { | ||
| 13 | #address-cells = <2>; | ||
| 14 | #size-cells = <1>; | ||
| 15 | compatible = "simple-bus"; | ||
| 16 | ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG | ||
| 17 | 1 0 0 0x16000000 0x02000000>; // GBU chipselects | ||
| 18 | |||
| 19 | serial0: serial@30000 { | ||
| 20 | device_type = "serial"; | ||
| 21 | compatible = "ns16550"; | ||
| 22 | reg = <0 0x30100 0xa00>; | ||
| 23 | reg-shift = <2>; | ||
| 24 | reg-io-width = <4>; | ||
| 25 | clock-frequency = <133333333>; | ||
| 26 | interrupt-parent = <&pic>; | ||
| 27 | interrupts = <17>; | ||
| 28 | }; | ||
| 29 | serial1: serial@31000 { | ||
| 30 | device_type = "serial"; | ||
| 31 | compatible = "ns16550"; | ||
| 32 | reg = <0 0x31100 0xa00>; | ||
| 33 | reg-shift = <2>; | ||
| 34 | reg-io-width = <4>; | ||
| 35 | clock-frequency = <133333333>; | ||
| 36 | interrupt-parent = <&pic>; | ||
| 37 | interrupts = <18>; | ||
| 38 | }; | ||
| 39 | i2c0: ocores@32000 { | ||
| 40 | compatible = "opencores,i2c-ocores"; | ||
| 41 | #address-cells = <1>; | ||
| 42 | #size-cells = <0>; | ||
| 43 | reg = <0 0x32100 0xa00>; | ||
| 44 | reg-shift = <2>; | ||
| 45 | reg-io-width = <4>; | ||
| 46 | clock-frequency = <32000000>; | ||
| 47 | interrupt-parent = <&pic>; | ||
| 48 | interrupts = <30>; | ||
| 49 | }; | ||
| 50 | i2c1: ocores@33000 { | ||
| 51 | compatible = "opencores,i2c-ocores"; | ||
| 52 | #address-cells = <1>; | ||
| 53 | #size-cells = <0>; | ||
| 54 | reg = <0 0x33100 0xa00>; | ||
| 55 | reg-shift = <2>; | ||
| 56 | reg-io-width = <4>; | ||
| 57 | clock-frequency = <32000000>; | ||
| 58 | interrupt-parent = <&pic>; | ||
| 59 | interrupts = <31>; | ||
| 60 | |||
| 61 | rtc@68 { | ||
| 62 | compatible = "dallas,ds1374"; | ||
| 63 | reg = <0x68>; | ||
| 64 | }; | ||
| 65 | |||
| 66 | dtt@4c { | ||
| 67 | compatible = "national,lm90"; | ||
| 68 | reg = <0x4c>; | ||
| 69 | }; | ||
| 70 | }; | ||
| 71 | pic: pic@4000 { | ||
| 72 | compatible = "netlogic,xlp-pic"; | ||
| 73 | #address-cells = <0>; | ||
| 74 | #interrupt-cells = <1>; | ||
| 75 | reg = <0 0x4000 0x200>; | ||
| 76 | interrupt-controller; | ||
| 77 | }; | ||
| 78 | |||
| 79 | nor_flash@1,0 { | ||
| 80 | compatible = "cfi-flash"; | ||
| 81 | #address-cells = <1>; | ||
| 82 | #size-cells = <1>; | ||
| 83 | bank-width = <2>; | ||
| 84 | reg = <1 0 0x1000000>; | ||
| 85 | |||
| 86 | partition@0 { | ||
| 87 | label = "x-loader"; | ||
| 88 | reg = <0x0 0x100000>; /* 1M */ | ||
| 89 | read-only; | ||
| 90 | }; | ||
| 91 | |||
| 92 | partition@100000 { | ||
| 93 | label = "u-boot"; | ||
| 94 | reg = <0x100000 0x100000>; /* 1M */ | ||
| 95 | }; | ||
| 96 | |||
| 97 | partition@200000 { | ||
| 98 | label = "kernel"; | ||
| 99 | reg = <0x200000 0x500000>; /* 5M */ | ||
| 100 | }; | ||
| 101 | |||
| 102 | partition@700000 { | ||
| 103 | label = "rootfs"; | ||
| 104 | reg = <0x700000 0x800000>; /* 8M */ | ||
| 105 | }; | ||
| 106 | |||
| 107 | partition@f00000 { | ||
| 108 | label = "env"; | ||
| 109 | reg = <0xf00000 0x100000>; /* 1M */ | ||
| 110 | read-only; | ||
| 111 | }; | ||
| 112 | }; | ||
| 113 | }; | ||
| 114 | |||
| 115 | chosen { | ||
| 116 | bootargs = "console=ttyS0,115200 rdinit=/sbin/init"; | ||
| 117 | }; | ||
| 118 | }; | ||
