X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FWHR-G300N.dts;h=e2b19ce03ed71bb4500171d8f4267c64c0e67c2b;hb=447cf1a2b7efa3949c8562d08bddcfaba3a5d809;hp=c0779e25bddad746c5f17098cc356e8cb3332145;hpb=aa52029f6ebc614c8fd1f37d5328bfb0ffb2d2a0;p=librecmc%2Flibrecmc.git diff --git a/target/linux/ramips/dts/WHR-G300N.dts b/target/linux/ramips/dts/WHR-G300N.dts index c0779e25bd..e2b19ce03e 100644 --- a/target/linux/ramips/dts/WHR-G300N.dts +++ b/target/linux/ramips/dts/WHR-G300N.dts @@ -15,6 +15,35 @@ device-width = <2>; #address-cells = <1>; #size-cells = <1>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x30000>; + read-only; + }; + + partition@30000 { + label = "u-boot-env"; + reg = <0x30000 0x10000>; + read-only; + }; + + factory: partition@40000 { + label = "factory"; + reg = <0x40000 0x10000>; + read-only; + }; + + partition@50000 { + label = "firmware"; + reg = <0x50000 0x3a0000>; + }; + + partition@3f0000 { + label = "user"; + reg = <0x3f0000 0x10000>; + read-only; + }; }; gpio-leds { @@ -81,8 +110,6 @@ mediatek,portmap = <0x2f>; }; -/* FIXME: no partitions defined */ -/*&wmac { +&wmac { ralink,mtd-eeprom = <&factory 0>; }; -*/