Wind River Support Network

HomeDefectsLIN5-4586
Fixed

LIN5-4586 : [WRlinux 5.0.1 Async]lsi-acp34xx:Replace device tree "enabled" property with "status"

Created: May 16, 2013    Updated: Mar 2, 2018
Resolved Date: May 29, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.4
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

We should drop the "enabled" attribute from the device trees. 
The standard attribute describe device availability is "status".

/ {
#address-cells = <0x2>;
#size-cells = <0x1>;
model = "ibm,acpx1-4xx";
compatible = "ibm,acpx1-4xx", "ibm,47x-AMP";
dcr-parent = <0x1>;
aliases {
serial0 = "/plb/opb/serial@00404000";
serial1 = "/plb/opb/serial@00405000";
rapidio0 = "/rapidio@f0020000";
};
cpus {
#address-cells = <0x1>;
#size-cells = <0x0>;
cpu@0 {
device_type = "cpu";
model = "PowerPC,4xx";
reg = <0x0>;
clock-frequency = <0x5f5e1000>;
timebase-frequency = <0x5f5e1000>;
i-cache-line-size = <0x20>;
d-cache-line-size = <0x20>;
i-cache-size = <0x8000>;
d-cache-size = <0x8000>;
dcr-controller;
dcr-access-method = "native";
status = "ok";
reset-type = <0x3>;
linux,phandle = <0x1>;
phandle = <0x1>;
};
cpu@1 {
device_type = "cpu";
model = "PowerPC,4xx";
reg = <0x1>;
clock-frequency = <0x5f5e1000>;
timebase-frequency = <0x5f5e1000>;
i-cache-line-size = <0x20>;
d-cache-line-size = <0x20>;
i-cache-size = <0x8000>;
d-cache-size = <0x8000>;
dcr-controller;
dcr-access-method = "native";
status = "disabled";
enable-method = "spin-table";
cpu-release-addr = <0x0 0x20e5c0>;
reset-type = <0x3>;
};
cpu@2 {
device_type = "cpu";
model = "PowerPC,4xx";
reg = <0x2>;
clock-frequency = <0x5f5e1000>;
timebase-frequency = <0x5f5e1000>;
i-cache-line-size = <0x20>;
d-cache-line-size = <0x20>;
i-cache-size = <0x8000>;
d-cache-size = <0x8000>;
dcr-controller;
dcr-access-method = "native";
status = "disabled";
enable-method = "spin-table";
cpu-release-addr = <0x0 0x20e600>;
reset-type = <0x3>;
};
cpu@3 {
device_type = "cpu";
model = "PowerPC,4xx";
reg = <0x3>;
clock-frequency = <0x5f5e1000>;
timebase-frequency = <0x5f5e1000>;
i-cache-line-size = <0x20>;
d-cache-line-size = <0x20>;
i-cache-size = <0x8000>;
d-cache-size = <0x8000>;
dcr-controller;
dcr-access-method = "native";
status = "disabled";
enable-method = "spin-table";
cpu-release-addr = <0x0 0x20e660>;
reset-type = <0x3>;
};
};
memory {
device_type = "memory";
reg = <0x0 0x0 0x0>;
};
interrupt-controller {
compatible = "chrp,open-pic";
interrupt-controller;
dcr-reg = <0xffc00000 0x30000>;
#address-cells = <0x0>;
#size-cells = <0x0>;
#interrupt-cells = <0x2>;
pic-no-reset;
linux,phandle = <0x2>;
phandle = <0x2>;
};
plb {
compatible = "ibm,plb-4xx", "ibm,plb4";
#address-cells = <0x2>;
#size-cells = <0x1>;
ranges;
clock-frequency = <0x0>;
opb {
compatible = "ibm,opb-4xx", "ibm,opb";
#address-cells = <0x1>;
#size-cells = <0x1>;
ranges = <0x0 0x20 0x0 0x80000000 0x80000000 0x20 0x80000000 0x80000000>;
clock-frequency = <0x0>;
serial@00404000 {
device_type = "serial";
compatible = "acp-uart0";
enabled = <0x1>;
reg = <0x404000 0x1000>;
clock-reg = <0x408040 0x20>;
clock-frequency = <0xbebc200>;
current-speed = <0x2580>;
interrupt-parent = <0x2>;
interrupts = <0x16 0x2>;
};
serial@00405000 {
device_type = "serial";
compatible = "acp-uart1";
enabled = <0x1>;
reg = <0x405000 0x1000>;
clock-reg = <0x408060 0x20>;
clock-frequency = <0xbebc200>;
current-speed = <0x2580>;
interrupt-parent = <0x2>;
interrupts = <0x17 0x2>;
};
usb@004a4000 {
device_type = "usb";
compatible = "acp-usb";
enabled = <0x1>;
reg = <0x4a0000 0x20000 0x40c000 0x1000>;
interrupt-parent = <0x2>;
interrupts = <0x1f 0x2>;
};
i2c@00403000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "acp-i2c";
enabled = <0x1>;
reg = <0x403000 0x1000 0x408020 0x1000>;
interrupt-parent = <0x2>;
interrupts = <0x15 0x2>;
eeprom@50 {
compatible = "atmel,24c01";
reg = <0x50>;
};
};
ssp@00402000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
cell-index = <0x0>;
compatible = "acp-ssp";
clock-frequency = <0x17d7840>;
enabled = <0x1>;
reg = <0x402000 0x1000>;
interrupt-parent = <0x2>;
interrupts = <0x14 0x2>;
num-ss-bits = <0x5>;
enalbe-dma = <0x0>;
eeprom@0 {
reg = <0x0>;
compatible = "at25";
spi-max-frequency = <0x2625a00>;
};
eeprom@1 {
reg = <0x1>;
compatible = "at25";
spi-max-frequency = <0x2625a00>;
};
};
nand@00440000 {
#address-cells = <0x1>;
#size-cells = <0x1>;
device_type = "nand";
compatible = "acp-nand";
enabled = <0x1>;
reg = <0x440000 0x20000 0x40c000 0x1000>;
partition@0 {
reg = <0x0 0x80000>;
label = "2nd Stage";
read-only;
};
partition@80000 {
reg = <0x80000 0x80000>;
label = "env-0";
read-only;
};
partition@100000 {
reg = <0x100000 0x80000>;
label = "env-1";
read-only;
};
partition@180000 {
reg = <0x180000 0x100000>;
label = "3rd Stage";
read-only;
};
partition@280000 {
reg = <0x280000 0x580000>;
label = "linux";
read-only;
};
partition@800000 {
reg = <0x800000 0x100000>;
label = "linux_dtb";
read-only;
};
partition@900000 {
reg = <0x900000 0x1f100000>;
label = "linux_fs";
};
partition@1FA00000 {
reg = <0x1fa00000 0x2000000>;
label = "ose";
read-only;
};
partition@21A00000 {
reg = <0x21a00000 0x1000000>;
label = "ose backup";
read-only;
};
partition@22A00000 {
reg = <0x22a00000 0x1d600000>;
label = "ose storage";
};
};
femac@00480000 {
device_type = "network";
compatible = "acp-femac";
enabled = <0x1>;
reg = <0x480000 0x1000 0x481000 0x1000 0x482000 0x1000>;
interrupt-parent = <0x2>;
interrupts = <0x21 0x2>;
mdio-reg = <0x409000 0x1000>;
mdio-clock = <0x0>;
phy-address = <0x0>;
ad-value = <0x0>;
mac-address = [00 02 2d 84 12 a3];
};
gpio@00400000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
cell-index = <0x0>;
compatible = "amba_pl061";
reg = <0x400000 0x1000>;
pins-map = <0x10>;
};
gpio@00401000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
cell-index = <0x8>;
compatible = "amba_pl061";
reg = <0x401000 0x1000>;
pins-map = <0x29>;
};
gpreg@0040c000 {
compatible = "lsi,gpreg";
reg = <0x40c000 0x1000>;
};
gpdma@004e0000 {
compatible = "lsi,dma31";
reg = <0x4e0000 0x20000>;
interrupt-parent = <0x2>;
channel0 {
interrupts = <0x23 0x2>;
};
channel1 {
interrupts = <0x24 0x2>;
};
channel2 {
interrupts = <0x25 0x2>;
};
channel3 {
interrupts = <0x26 0x2>;
};
};
};
};
nvrtc {
compatible = "ds1743-nvram", "ds1743", "rtc-ds1743";
reg = <0x0 0xef703000 0x2000>;
};
system {
ncr_0x00a_0x010_0x0002c = <0x0>;
ncr_0x016_0x0ff_0x00010 = <0x0>;
};
chosen {
linux,stdout-path = "/plb/opb/serial@00404000";
};
pciex@f00c0000 {
compatible = "lsi,plb-pciex";
device_type = "pci";
enabled = <0x1>;
plx = <0x1>;
primary;
port = <0x0>;
#interrupt-cells = <0x1>;
#size-cells = <0x2>;
#address-cells = <0x3>;
reg = <0x20 0x78000000 0x1000000 0x20 0x4c0000 0x8000>;
bus-range = <0x0 0xf>;
ranges = <0x2000000 0x0 0xa0000000 0x20 0x40000000 0x0 0x10000000>;
dma-ranges = <0x2000000 0x0 0x0 0x0 0x0 0x0 0x40000000>;
interrupt-parent = <0x2>;
interrupts = <0x1d 0x2>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0x0 0x0 0x0 0x1 0x2 0x1d 0x2 0x0 0x0 0x0 0x2 0x2 0x1d 0x2 0x0 0x0 0x0 0x3 0x2 0x1d 0x2 0x0 0x0 0x0 0x4 0x2 0x1d 0x2>;
};
pciex@f00c8000 {
compatible = "lsi,plb-pciex";
device_type = "pci";
enabled = <0x1>;
plx = <0x1>;
primary;
port = <0x1>;
#interrupt-cells = <0x1>;
#size-cells = <0x2>;
#address-cells = <0x3>;
reg = <0x20 0xf8000000 0x1000000 0x20 0x4c8000 0x8000>;
bus-range = <0x0 0xf>;
ranges = <0x2000000 0x0 0xa0000000 0x20 0xc0000000 0x0 0x10000000>;
dma-ranges = <0x2000000 0x0 0x0 0x0 0x0 0x0 0x40000000>;
interrupt-parent = <0x2>;
interrupts = <0x48 0x2>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0x0 0x0 0x0 0x1 0x2 0x48 0x2 0x0 0x0 0x0 0x2 0x2 0x48 0x2 0x0 0x0 0x0 0x3 0x2 0x48 0x2 0x0 0x0 0x0 0x4 0x2 0x48 0x2>;
};
pciex@f00d0000 {
compatible = "lsi,plb-pciex";
device_type = "pci";
enabled = <0x1>;
plx = <0x1>;
primary;
port = <0x2>;
#interrupt-cells = <0x1>;
#size-cells = <0x2>;
#address-cells = <0x3>;
reg = <0x21 0x38000000 0x1000000 0x20 0x4d0000 0x8000>;
bus-range = <0x0 0xf>;
ranges = <0x2000000 0x0 0xa0000000 0x21 0x0 0x0 0x10000000>;
dma-ranges = <0x2000000 0x0 0x0 0x0 0x0 0x0 0x40000000>;
interrupt-parent = <0x2>;
interrupts = <0x49 0x2>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0x0 0x0 0x0 0x1 0x2 0x49 0x2 0x0 0x0 0x0 0x2 0x2 0x49 0x2 0x0 0x0 0x0 0x3 0x2 0x49 0x2 0x0 0x0 0x0 0x4 0x2 0x49 0x2>;
};
rapidio@f0020000 {
compatible = "acp,rapidio-delta";
device_type = "rapidio";
enabled = <0x1>;
#size = <0x0>;
reg = <0xf0020000 0x20000 0x1000>;
interrupt-parent = <0x2>;
interrupts = <0x1e 0x2>;
};
};

Steps to Reproduce

1.boot board and stop in 3rd stage bootload

2.fdt print

Other Downloads


Live chat
Online