Created
April 5, 2017 05:45
-
-
Save mithro/7d646e791fa507ea06ae918d3b331f1f to your computer and use it in GitHub Desktop.
Linux DeviceTree Stub for Litex with mor1k running on Numato Opsis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dts-v1/; | |
/ { | |
compatible = "opencores,or1ksim"; | |
#address-cells = <1>; | |
#size-cells = <1>; | |
interrupt-parent = <&pic>; | |
chosen { | |
bootargs = "console=uart,mmio,0x90000000,115200"; | |
}; | |
memory { | |
device_type = "memory"; | |
reg = <0x40000000 268435456>; | |
}; | |
cpus { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
cpu@0 { | |
compatible = "opencores,or1200-rtlsvn481"; | |
reg = <0>; | |
clock-frequency = <83333333>; | |
}; | |
}; | |
/* | |
* OR1K PIC is built into CPU and accessed via special purpose | |
* registers. It is not addressable and, hence, has no 'reg' | |
* property. | |
*/ | |
pic: pic { | |
compatible = "opencores,or1k-pic"; | |
#interrupt-cells = <1>; | |
interrupt-controller; | |
}; | |
serial0: serial@e0000800 { | |
compatible = "litex,uart"; | |
reg = <0xe0000800 0x100>; | |
interrupts = <0>; | |
}; | |
}; |
Author
mithro
commented
Apr 5, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment