mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 23:28:55 +00:00
xtensa: xtfpga: introduce SoC I/O bus
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
6555910065
commit
08a7bbf624
3 changed files with 64 additions and 53 deletions
|
@ -1,9 +1,10 @@
|
||||||
/ {
|
/ {
|
||||||
flash: flash@f8000000 {
|
soc {
|
||||||
|
flash: flash@08000000 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
compatible = "cfi-flash";
|
compatible = "cfi-flash";
|
||||||
reg = <0xf8000000 0x01000000>;
|
reg = <0x08000000 0x01000000>;
|
||||||
bank-width = <2>;
|
bank-width = <2>;
|
||||||
device-width = <2>;
|
device-width = <2>;
|
||||||
partition@0x0 {
|
partition@0x0 {
|
||||||
|
@ -23,4 +24,5 @@
|
||||||
reg = <0x00fe0000 0x00020000>;
|
reg = <0x00fe0000 0x00020000>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
/ {
|
/ {
|
||||||
flash: flash@f8000000 {
|
soc {
|
||||||
|
flash: flash@08000000 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
compatible = "cfi-flash";
|
compatible = "cfi-flash";
|
||||||
reg = <0xf8000000 0x00400000>;
|
reg = <0x08000000 0x00400000>;
|
||||||
bank-width = <2>;
|
bank-width = <2>;
|
||||||
device-width = <2>;
|
device-width = <2>;
|
||||||
partition@0x0 {
|
partition@0x0 {
|
||||||
|
@ -15,4 +16,5 @@
|
||||||
reg = <0x003f0000 0x00010000>;
|
reg = <0x003f0000 0x00010000>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -42,21 +42,28 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
serial0: serial@fd050020 {
|
soc {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
compatible = "simple-bus";
|
||||||
|
ranges = <0x00000000 0xf0000000 0x10000000>;
|
||||||
|
|
||||||
|
serial0: serial@0d050020 {
|
||||||
device_type = "serial";
|
device_type = "serial";
|
||||||
compatible = "ns16550a";
|
compatible = "ns16550a";
|
||||||
no-loopback-test;
|
no-loopback-test;
|
||||||
reg = <0xfd050020 0x20>;
|
reg = <0x0d050020 0x20>;
|
||||||
reg-shift = <2>;
|
reg-shift = <2>;
|
||||||
interrupts = <0 1>; /* external irq 0 */
|
interrupts = <0 1>; /* external irq 0 */
|
||||||
clocks = <&osc>;
|
clocks = <&osc>;
|
||||||
};
|
};
|
||||||
|
|
||||||
enet0: ethoc@fd030000 {
|
enet0: ethoc@0d030000 {
|
||||||
compatible = "opencores,ethoc";
|
compatible = "opencores,ethoc";
|
||||||
reg = <0xfd030000 0x4000 0xfd800000 0x4000>;
|
reg = <0x0d030000 0x4000 0x0d800000 0x4000>;
|
||||||
interrupts = <1 1>; /* external irq 1 */
|
interrupts = <1 1>; /* external irq 1 */
|
||||||
local-mac-address = [00 50 c2 13 6f 00];
|
local-mac-address = [00 50 c2 13 6f 00];
|
||||||
clocks = <&osc>;
|
clocks = <&osc>;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue