1*4882a593Smuzhiyun// SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun 3*4882a593Smuzhiyun/ { 4*4882a593Smuzhiyun #address-cells = <1>; 5*4882a593Smuzhiyun #size-cells = <1>; 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun testcase-data { 8*4882a593Smuzhiyun #address-cells = <1>; 9*4882a593Smuzhiyun #size-cells = <1>; 10*4882a593Smuzhiyun ranges; 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun address-tests { 13*4882a593Smuzhiyun #address-cells = <1>; 14*4882a593Smuzhiyun #size-cells = <1>; 15*4882a593Smuzhiyun /* ranges here is to make sure we don't use it for 16*4882a593Smuzhiyun * dma-ranges translation */ 17*4882a593Smuzhiyun ranges = <0x70000000 0x70000000 0x40000000>, 18*4882a593Smuzhiyun <0x00000000 0xd0000000 0x20000000>; 19*4882a593Smuzhiyun dma-ranges = <0x0 0x20000000 0x40000000>; 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun device@70000000 { 22*4882a593Smuzhiyun reg = <0x70000000 0x1000>; 23*4882a593Smuzhiyun }; 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun bus@80000000 { 26*4882a593Smuzhiyun #address-cells = <2>; 27*4882a593Smuzhiyun #size-cells = <2>; 28*4882a593Smuzhiyun ranges = <0x0 0x0 0x80000000 0x0 0x100000>; 29*4882a593Smuzhiyun dma-ranges = <0x1 0x0 0x0 0x20 0x0>; 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun device@1000 { 32*4882a593Smuzhiyun reg = <0x0 0x1000 0x0 0x1000>; 33*4882a593Smuzhiyun }; 34*4882a593Smuzhiyun }; 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun pci@90000000 { 37*4882a593Smuzhiyun device_type = "pci"; 38*4882a593Smuzhiyun #address-cells = <3>; 39*4882a593Smuzhiyun #size-cells = <2>; 40*4882a593Smuzhiyun reg = <0x90000000 0x1000>; 41*4882a593Smuzhiyun ranges = <0x42000000 0x0 0x40000000 0x40000000 0x0 0x10000000>; 42*4882a593Smuzhiyun dma-ranges = <0x42000000 0x0 0x80000000 0x00000000 0x0 0x10000000>, 43*4882a593Smuzhiyun <0x42000000 0x0 0xc0000000 0x20000000 0x0 0x10000000>; 44*4882a593Smuzhiyun }; 45*4882a593Smuzhiyun 46*4882a593Smuzhiyun }; 47*4882a593Smuzhiyun }; 48*4882a593Smuzhiyun}; 49