forked from Ivasoft/openwrt
brcm63xx: add support for registering parallel flash through dtb
Add the required nodes to the dtsi files and code to prevent double registration from the board support code. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42123
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm6358";
|
||||
|
||||
aliases {
|
||||
pflash = &pflash;
|
||||
};
|
||||
|
||||
cpus {
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
@@ -15,6 +19,16 @@
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
pflash: nor@1e000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1e000000 0x2000000>;
|
||||
bank-width = <2>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ubus@fff00000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
Reference in New Issue
Block a user