chosen {
bootargs = "console=ttyS0,115200";
/*
- linux,stdout-path = "/soc@ffe00000/serial@4500";
+ stdout-path = "/soc@ffe00000/serial@4500";
*/
};
aliases {
spi0 = &spi0;
+ led-boot = &system_green;
+ led-failsafe = &system_green;
+ led-running = &system_green;
+ led-upgrade = &system_green;
};
memory {
spi0: spi@7000 {
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
- u-boot@0 {
- reg = <0x0 0x0050000>;
- label = "u-boot";
- read-only;
- };
-
- dtb@50000 {
- reg = <0x00050000 0x00010000>;
- label = "dtb";
- read-only;
- };
-
- kernel@60000 {
- reg = <0x00060000 0x002a0000>;
- label = "kernel";
- };
-
- rootfs@300000 {
- reg = <0x00300000 0x00ce0000>;
- label = "rootfs";
- };
-
- config: config@fe0000 {
- reg = <0x00fe0000 0x00010000>;
- label = "config";
- read-only;
- };
-
- caldata@ff0000 {
- reg = <0x00ff0000 0x00010000>;
- label = "caldata";
- read-only;
- };
-
- firmware@60000 {
- reg = <0x00060000 0x00f80000>;
- label = "firmware";
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ reg = <0x0 0x0050000>;
+ label = "u-boot";
+ read-only;
+ };
+
+ partition@50000 {
+ reg = <0x00050000 0x00010000>;
+ label = "dtb";
+ read-only;
+ };
+
+ partition@60000 {
+ compatible = "tplink,firmware";
+ reg = <0x00060000 0x00f80000>;
+ label = "firmware";
+ };
+
+ config: partition@fe0000 {
+ reg = <0x00fe0000 0x00010000>;
+ label = "config";
+ read-only;
+ };
+
+ partition@ff0000 {
+ reg = <0x00ff0000 0x00010000>;
+ label = "caldata";
+ read-only;
+ };
};
};
};
leds {
compatible = "gpio-leds";
- system {
+ system_green: system {
gpios = <&gpio0 2 1>; /* active low */
label = "tp-link:blue:system";
};
/include/ "fsl/p1010si-post.dtsi"
+/ {
+ cpus {
+ PowerPC,P1010@0 {
+ bus-frequency = <399999996>;
+ timebase-frequency = <49999999>;
+ clock-frequency = <799999992>;
+ };
+ };
+
+ memory {
+ reg = <0x0 0x0 0x0 0x8000000>;
+ };
+
+ soc@ffe00000 {
+ bus-frequency = <399999996>;
+
+ serial@4600 {
+ clock-frequency = <399999996>;
+ };
+
+ serial@4500 {
+ clock-frequency = <399999996>;
+ };
+
+ pic@40000 {
+ clock-frequency = <399999996>;
+ };
+ };
+};
+
/*
* The TL-WDR4900 v1 uses the NXP (Freescale) P1014 SoC which is closely
* related to the P1010.