1 Device-Tree binding for regmap
3 The endianness mode of CPU & Device scenarios:
4 Index Device Endianness properties
5 ---------------------------------------------------
8 3 Native 'native-endian'
10 For one device driver, which will run in different scenarios above
11 on different SoCs using the devicetree, we need one way to simplify
15 - {big,little,native}-endian: these are boolean properties, if absent
16 then the implementation will choose a default based on the device
17 being controlled. These properties are for register values and all
18 the buffers only. Native endian means that the CPU and device have
22 Scenario 1 : CPU in LE mode & device in LE mode.
25 reg = <0x40031000 0x1000>;
29 Scenario 2 : CPU in LE mode & device in BE mode.
32 reg = <0x40031000 0x1000>;
37 Scenario 3 : CPU in BE mode & device in BE mode.
40 reg = <0x40031000 0x1000>;
44 Scenario 4 : CPU in BE mode & device in LE mode.
47 reg = <0x40031000 0x1000>;