Commit dc3c9b8c authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras

[PATCH] powerpc: update iSeries vdevice

Make it look more like the pSeries vdevice tree.
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent fbabeb60
...@@ -921,13 +921,14 @@ void dt_vdevices(struct iseries_flat_dt *dt) ...@@ -921,13 +921,14 @@ void dt_vdevices(struct iseries_flat_dt *dt)
char buf[32]; char buf[32];
dt_start_node(dt, "vdevice"); dt_start_node(dt, "vdevice");
dt_prop_str(dt, "device_type", "vdevice");
dt_prop_str(dt, "compatible", "IBM,iSeries-vdevice");
dt_prop_u32(dt, "#address-cells", 1); dt_prop_u32(dt, "#address-cells", 1);
dt_prop_u32(dt, "#size-cells", 0); dt_prop_u32(dt, "#size-cells", 0);
snprintf(buf, sizeof(buf), "viocons@%08x", reg); snprintf(buf, sizeof(buf), "vty@%08x", reg);
dt_start_node(dt, buf); dt_start_node(dt, buf);
dt_prop_str(dt, "device_type", "serial"); dt_prop_str(dt, "device_type", "serial");
dt_prop_str(dt, "compatible", "");
dt_prop_u32(dt, "reg", reg); dt_prop_u32(dt, "reg", reg);
dt_end_node(dt); dt_end_node(dt);
reg++; reg++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment