diff options
| author | Max Filippov <jcmvbkbc@gmail.com> | 2014-02-22 18:48:32 -0500 |
|---|---|---|
| committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-04-06 13:32:02 -0400 |
| commit | 08a7bbf624072bed1cb35e5b4db7d538580f731c (patch) | |
| tree | 2715d780e05d2101717a81d602a958fb99db8da9 | |
| parent | 65559100655c6ed6ce2e17ffc8d4f3852bc2858a (diff) | |
xtensa: xtfpga: introduce SoC I/O bus
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
| -rw-r--r-- | arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi | 48 | ||||
| -rw-r--r-- | arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi | 32 | ||||
| -rw-r--r-- | arch/xtensa/boot/dts/xtfpga.dtsi | 37 |
3 files changed, 64 insertions, 53 deletions
diff --git a/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi b/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi index e5703c7beeb6..1d97203c18e7 100644 --- a/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi +++ b/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi | |||
| @@ -1,26 +1,28 @@ | |||
| 1 | / { | 1 | / { |
| 2 | flash: flash@f8000000 { | 2 | soc { |
| 3 | #address-cells = <1>; | 3 | flash: flash@08000000 { |
| 4 | #size-cells = <1>; | 4 | #address-cells = <1>; |
| 5 | compatible = "cfi-flash"; | 5 | #size-cells = <1>; |
| 6 | reg = <0xf8000000 0x01000000>; | 6 | compatible = "cfi-flash"; |
| 7 | bank-width = <2>; | 7 | reg = <0x08000000 0x01000000>; |
| 8 | device-width = <2>; | 8 | bank-width = <2>; |
| 9 | partition@0x0 { | 9 | device-width = <2>; |
| 10 | label = "boot loader area"; | 10 | partition@0x0 { |
| 11 | reg = <0x00000000 0x00400000>; | 11 | label = "boot loader area"; |
| 12 | reg = <0x00000000 0x00400000>; | ||
| 13 | }; | ||
| 14 | partition@0x400000 { | ||
| 15 | label = "kernel image"; | ||
| 16 | reg = <0x00400000 0x00600000>; | ||
| 17 | }; | ||
| 18 | partition@0xa00000 { | ||
| 19 | label = "data"; | ||
| 20 | reg = <0x00a00000 0x005e0000>; | ||
| 21 | }; | ||
| 22 | partition@0xfe0000 { | ||
| 23 | label = "boot environment"; | ||
| 24 | reg = <0x00fe0000 0x00020000>; | ||
| 25 | }; | ||
| 12 | }; | 26 | }; |
| 13 | partition@0x400000 { | 27 | }; |
| 14 | label = "kernel image"; | ||
| 15 | reg = <0x00400000 0x00600000>; | ||
| 16 | }; | ||
| 17 | partition@0xa00000 { | ||
| 18 | label = "data"; | ||
| 19 | reg = <0x00a00000 0x005e0000>; | ||
| 20 | }; | ||
| 21 | partition@0xfe0000 { | ||
| 22 | label = "boot environment"; | ||
| 23 | reg = <0x00fe0000 0x00020000>; | ||
| 24 | }; | ||
| 25 | }; | ||
| 26 | }; | 28 | }; |
diff --git a/arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi b/arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi index 6f9c10d6b689..d1c621ca8be1 100644 --- a/arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi +++ b/arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi | |||
| @@ -1,18 +1,20 @@ | |||
| 1 | / { | 1 | / { |
| 2 | flash: flash@f8000000 { | 2 | soc { |
| 3 | #address-cells = <1>; | 3 | flash: flash@08000000 { |
| 4 | #size-cells = <1>; | 4 | #address-cells = <1>; |
| 5 | compatible = "cfi-flash"; | 5 | #size-cells = <1>; |
| 6 | reg = <0xf8000000 0x00400000>; | 6 | compatible = "cfi-flash"; |
| 7 | bank-width = <2>; | 7 | reg = <0x08000000 0x00400000>; |
| 8 | device-width = <2>; | 8 | bank-width = <2>; |
| 9 | partition@0x0 { | 9 | device-width = <2>; |
| 10 | label = "boot loader area"; | 10 | partition@0x0 { |
| 11 | reg = <0x00000000 0x003f0000>; | 11 | label = "boot loader area"; |
| 12 | reg = <0x00000000 0x003f0000>; | ||
| 13 | }; | ||
| 14 | partition@0x3f0000 { | ||
| 15 | label = "boot environment"; | ||
| 16 | reg = <0x003f0000 0x00010000>; | ||
| 17 | }; | ||
| 12 | }; | 18 | }; |
| 13 | partition@0x3f0000 { | 19 | }; |
| 14 | label = "boot environment"; | ||
| 15 | reg = <0x003f0000 0x00010000>; | ||
| 16 | }; | ||
| 17 | }; | ||
| 18 | }; | 20 | }; |
diff --git a/arch/xtensa/boot/dts/xtfpga.dtsi b/arch/xtensa/boot/dts/xtfpga.dtsi index e7370b11348e..dec9178840f6 100644 --- a/arch/xtensa/boot/dts/xtfpga.dtsi +++ b/arch/xtensa/boot/dts/xtfpga.dtsi | |||
| @@ -42,21 +42,28 @@ | |||
| 42 | }; | 42 | }; |
| 43 | }; | 43 | }; |
| 44 | 44 | ||
| 45 | serial0: serial@fd050020 { | 45 | soc { |
| 46 | device_type = "serial"; | 46 | #address-cells = <1>; |
| 47 | compatible = "ns16550a"; | 47 | #size-cells = <1>; |
| 48 | no-loopback-test; | 48 | compatible = "simple-bus"; |
| 49 | reg = <0xfd050020 0x20>; | 49 | ranges = <0x00000000 0xf0000000 0x10000000>; |
| 50 | reg-shift = <2>; | ||
| 51 | interrupts = <0 1>; /* external irq 0 */ | ||
| 52 | clocks = <&osc>; | ||
| 53 | }; | ||
| 54 | 50 | ||
| 55 | enet0: ethoc@fd030000 { | 51 | serial0: serial@0d050020 { |
| 56 | compatible = "opencores,ethoc"; | 52 | device_type = "serial"; |
| 57 | reg = <0xfd030000 0x4000 0xfd800000 0x4000>; | 53 | compatible = "ns16550a"; |
| 58 | interrupts = <1 1>; /* external irq 1 */ | 54 | no-loopback-test; |
| 59 | local-mac-address = [00 50 c2 13 6f 00]; | 55 | reg = <0x0d050020 0x20>; |
| 60 | clocks = <&osc>; | 56 | reg-shift = <2>; |
| 57 | interrupts = <0 1>; /* external irq 0 */ | ||
| 58 | clocks = <&osc>; | ||
| 59 | }; | ||
| 60 | |||
| 61 | enet0: ethoc@0d030000 { | ||
| 62 | compatible = "opencores,ethoc"; | ||
| 63 | reg = <0x0d030000 0x4000 0x0d800000 0x4000>; | ||
| 64 | interrupts = <1 1>; /* external irq 1 */ | ||
| 65 | local-mac-address = [00 50 c2 13 6f 00]; | ||
| 66 | clocks = <&osc>; | ||
| 67 | }; | ||
| 61 | }; | 68 | }; |
| 62 | }; | 69 | }; |
