Commit 08a7bbf6 authored by Max Filippov's avatar Max Filippov

xtensa: xtfpga: introduce SoC I/O bus

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 65559100
/ { / {
flash: flash@f8000000 { soc {
#address-cells = <1>; flash: flash@08000000 {
#size-cells = <1>; #address-cells = <1>;
compatible = "cfi-flash"; #size-cells = <1>;
reg = <0xf8000000 0x01000000>; compatible = "cfi-flash";
bank-width = <2>; reg = <0x08000000 0x01000000>;
device-width = <2>; bank-width = <2>;
partition@0x0 { device-width = <2>;
label = "boot loader area"; partition@0x0 {
reg = <0x00000000 0x00400000>; label = "boot loader area";
reg = <0x00000000 0x00400000>;
};
partition@0x400000 {
label = "kernel image";
reg = <0x00400000 0x00600000>;
};
partition@0xa00000 {
label = "data";
reg = <0x00a00000 0x005e0000>;
};
partition@0xfe0000 {
label = "boot environment";
reg = <0x00fe0000 0x00020000>;
};
}; };
partition@0x400000 { };
label = "kernel image";
reg = <0x00400000 0x00600000>;
};
partition@0xa00000 {
label = "data";
reg = <0x00a00000 0x005e0000>;
};
partition@0xfe0000 {
label = "boot environment";
reg = <0x00fe0000 0x00020000>;
};
};
}; };
/ { / {
flash: flash@f8000000 { soc {
#address-cells = <1>; flash: flash@08000000 {
#size-cells = <1>; #address-cells = <1>;
compatible = "cfi-flash"; #size-cells = <1>;
reg = <0xf8000000 0x00400000>; compatible = "cfi-flash";
bank-width = <2>; reg = <0x08000000 0x00400000>;
device-width = <2>; bank-width = <2>;
partition@0x0 { device-width = <2>;
label = "boot loader area"; partition@0x0 {
reg = <0x00000000 0x003f0000>; label = "boot loader area";
reg = <0x00000000 0x003f0000>;
};
partition@0x3f0000 {
label = "boot environment";
reg = <0x003f0000 0x00010000>;
};
}; };
partition@0x3f0000 { };
label = "boot environment";
reg = <0x003f0000 0x00010000>;
};
};
}; };
...@@ -42,21 +42,28 @@ osc: main-oscillator { ...@@ -42,21 +42,28 @@ osc: main-oscillator {
}; };
}; };
serial0: serial@fd050020 { soc {
device_type = "serial"; #address-cells = <1>;
compatible = "ns16550a"; #size-cells = <1>;
no-loopback-test; compatible = "simple-bus";
reg = <0xfd050020 0x20>; ranges = <0x00000000 0xf0000000 0x10000000>;
reg-shift = <2>;
interrupts = <0 1>; /* external irq 0 */
clocks = <&osc>;
};
enet0: ethoc@fd030000 { serial0: serial@0d050020 {
compatible = "opencores,ethoc"; device_type = "serial";
reg = <0xfd030000 0x4000 0xfd800000 0x4000>; compatible = "ns16550a";
interrupts = <1 1>; /* external irq 1 */ no-loopback-test;
local-mac-address = [00 50 c2 13 6f 00]; reg = <0x0d050020 0x20>;
clocks = <&osc>; reg-shift = <2>;
interrupts = <0 1>; /* external irq 0 */
clocks = <&osc>;
};
enet0: ethoc@0d030000 {
compatible = "opencores,ethoc";
reg = <0x0d030000 0x4000 0x0d800000 0x4000>;
interrupts = <1 1>; /* external irq 1 */
local-mac-address = [00 50 c2 13 6f 00];
clocks = <&osc>;
};
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment