Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /dts-v1/;
- /include/ "rt5350.dtsi"
- / {
- compatible = "NixcoreX1", "ralink,rt5350-soc";
- model = "NixcoreX1";
- chosen{
- bootargs = "console=ttyS1,57600";
- };
- };
- &gpio0{
- status = "okay";
- };
- &gpio1{
- status = "okay";
- };
- &i2c{
- status = "okay";
- };
- &uart{
- status = "okay";
- /* Mix of uart and gpio */
- reset-names = "gpio uartf";
- };
- &spi0{
- status = "okay";
- m25p80@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "s25fl064k";
- reg = <0>;
- linux,modalias = "m25p80", "s25fl064k";
- spi-max-frequency = <10000000>;
- partition@0 {
- label = "uboot";
- reg = <0x0 0x30000>;
- read-only;
- };
- partition@30000 {
- label = "uboot-env";
- reg = <0x30000 0x10000>;
- read-only;
- };
- factory: partition@40000 {
- label = "factory";
- reg = <0x40000 0x10000>;
- read-only;
- };
- partition@50000 {
- label = "firmware";
- reg = <0x50000 0x7b0000>;
- };
- };
- };
- &pinctrl {
- state_default: pinctrl0 {
- gpio {
- /* Associate the tjag, uartf and led groups with gpio */
- ralink,group = "jtag", "led", "spi_cs1";
- /* How do we set individual pins? */
- ralink,function = "gpio";
- };
- };
- };
- ðernet {
- mtd-mac-address = <&factory 0x4>;
- };
- &esw {
- ralink,portmap = <0x17>;
- };
- &wmac {
- ralink,mtd-eeprom = <&factory 0>;
- };
- &ehci {
- status = "okay";
- };
- &ohci {
- status = "okay";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement