led-upgrade = &led_sys_loop;
};
- chosen {
- bootargs = "console=ttyS0,115200";
- };
-
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
};
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
+ };
+
chosen {
- bootargs = "console=ttyS0,115200";
+ bootargs = "earlycon";
+ stdout-path = "serial0:115200n8";
};
cpuintc: cpuintc {
/ {
chosen {
- bootargs = "console=ttyS0,38400";
+ stdout-path = "serial0:38400n8";
};
memory@0 {
};
chosen {
- bootargs = "console=ttyS0,38400";
+ stdout-path = "serial0:38400n8";
};
keys {
};
};
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
+ };
+
chosen {
- bootargs = "console=ttyS0,115200";
+ bootargs = "earlycon";
+ stdout-path = "serial0:115200n8";
};
cpuintc: cpuintc {
/ {
chosen {
- bootargs = "console=ttyS0,9600";
+ stdout-path = "serial0:9600n8";
};
memory@0 {
reg = <0x0 0x8000000>;
};
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
+ };
+
chosen {
- bootargs = "console=ttyS0,115200";
+ bootargs = "earlycon";
+ stdout-path = "serial0:115200n8";
};
cpuintc: cpuintc {
device_type = "memory";
reg = <0x0 0x10000000>;
};
-
+
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
+ };
+
chosen {
- bootargs = "console=ttyS0,115200";
+ bootargs = "earlycon";
+ stdout-path = "serial0:115200n8";
};
lx_clk: lx_clk {
{
uint32_t model;
- /* uart0 */
- setup_8250_early_printk_port(0xb8002000, 2, 0);
-
model = sw_r32(RTL838X_MODEL_NAME_INFO);
pr_info("RTL838X model is %x\n", model);
model = model >> 16 & 0xFFFF;