version 1.1.1.2, 2019/05/25 11:29:15 |
version 1.1.1.2.2.3, 2020/04/08 14:08:31 |
|
|
}; |
}; |
|
|
chosen { |
chosen { |
bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait"; |
bootargs = "console=ttyS0,19200n8 root=/dev/mtdblock3 rw rootfstype=squashfs,jffs2 rootwait"; |
stdout-path = &uart0; |
stdout-path = &uart0; |
}; |
}; |
|
|
|
|
wakeup-source; |
wakeup-source; |
linux,code = <KEY_WPS_BUTTON>; |
linux,code = <KEY_WPS_BUTTON>; |
label = "WPS"; |
label = "WPS"; |
/* Conflict with NAND flash */ |
/* Conflicts with TVC and extended flash */ |
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; |
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
}; |
}; |
|
|
button-setup { |
button-setup { |
|
|
/* 16MB of flash */ |
/* 16MB of flash */ |
reg = <0x30000000 0x01000000>; |
reg = <0x30000000 0x01000000>; |
|
|
partition@0 { |
partitions { |
label = "BOOT"; |
compatible = "redboot-fis"; |
reg = <0x00000000 0x00020000>; |
/* Eraseblock at 0xfe0000 */ |
read-only; |
fis-index-block = <0x1fc>; |
}; |
|
partition@120000 { |
|
label = "Kern"; |
|
reg = <0x00020000 0x00300000>; |
|
}; |
|
partition@320000 { |
|
label = "Ramdisk"; |
|
reg = <0x00320000 0x00600000>; |
|
}; |
|
partition@920000 { |
|
label = "Application"; |
|
reg = <0x00920000 0x00600000>; |
|
}; |
|
partition@f20000 { |
|
label = "VCTL"; |
|
reg = <0x00f20000 0x00020000>; |
|
read-only; |
|
}; |
|
partition@f40000 { |
|
label = "CurConf"; |
|
reg = <0x00f40000 0x000a0000>; |
|
read-only; |
|
}; |
|
partition@fe0000 { |
|
label = "FIS directory"; |
|
reg = <0x00fe0000 0x00020000>; |
|
read-only; |
|
}; |
}; |
}; |
}; |
|
|
syscon: syscon@40000000 { |
syscon: syscon@40000000 { |
pinctrl { |
pinctrl { |
/* |
/* |
* gpio0egrp cover line 16 used by HD LED |
* gpio0agrp cover line 0, used by WPS button |
* gpio0fgrp cover line 17, 18 used by wireless LED and reset button |
* gpio0fgrp cover line 16 used by HD LED |
* gpio0hgrp cover line 21, 22 used by MDIO for Marvell PHY |
* gpio0ggrp cover line 17, 18 used by wireless LAN LED and |
* gpio0kgrp cover line 31 used by USB LED |
* reset button OR USB ID select on 17 and USB VBUS select |
|
* on 18. (Confusing.) |
|
* gpio0igrp cover line 21, 22 used by MDIO for Marvell PHY |
*/ |
*/ |
gpio0_default_pins: pinctrl-gpio0 { |
gpio0_default_pins: pinctrl-gpio0 { |
mux { |
mux { |
function = "gpio0"; |
function = "gpio0"; |
groups = "gpio0egrp", |
groups = "gpio0agrp", |
"gpio0fgrp", |
"gpio0fgrp", |
"gpio0hgrp"; |
"gpio0ggrp", |
|
"gpio0igrp"; |
}; |
}; |
}; |
}; |
/* |
/* |