• Michael Walle's avatar
    arm64: dts: ls1028a: fix memory node · dabea675
    Michael Walle authored
    While enabling EDAC support for the LS1028A it was discovered that the
    memory node has a wrong endianness setting as well as a wrong interrupt
    assignment. Fix both.
    
    This was tested on a sl28 board. To force ECC errors, you can use the
    error injection supported by the controller in hardware (with
    CONFIG_EDAC_DEBUG enabled):
    
     # enable error injection
     $ echo 0x100 > /sys/devices/system/edac/mc/mc0/inject_ctrl
     # flip lowest bit of the data
     $ echo 0x1 > /sys/devices/system/edac/mc/mc0/inject_data_lo
    
    Fixes: 8897f325 ("arm64: dts: Add support for NXP LS1028A SoC")
    Signed-off-by: default avatarMichael Walle <michael@walle.cc>
    Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
    dabea675
fsl-ls1028a.dtsi 33.1 KB