1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*8bab661aSEmmanuel Vadot%YAML 1.2 3*8bab661aSEmmanuel Vadot--- 4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/net/marvell,dfx-server.yaml# 5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8bab661aSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: Marvell Prestera DFX server 8*8bab661aSEmmanuel Vadot 9*8bab661aSEmmanuel Vadotmaintainers: 10*8bab661aSEmmanuel Vadot - Miquel Raynal <miquel.raynal@bootlin.com> 11*8bab661aSEmmanuel Vadot 12*8bab661aSEmmanuel Vadotselect: 13*8bab661aSEmmanuel Vadot properties: 14*8bab661aSEmmanuel Vadot compatible: 15*8bab661aSEmmanuel Vadot contains: 16*8bab661aSEmmanuel Vadot const: marvell,dfx-server 17*8bab661aSEmmanuel Vadot required: 18*8bab661aSEmmanuel Vadot - compatible 19*8bab661aSEmmanuel Vadot 20*8bab661aSEmmanuel Vadotproperties: 21*8bab661aSEmmanuel Vadot compatible: 22*8bab661aSEmmanuel Vadot items: 23*8bab661aSEmmanuel Vadot - const: marvell,dfx-server 24*8bab661aSEmmanuel Vadot - const: simple-bus 25*8bab661aSEmmanuel Vadot 26*8bab661aSEmmanuel Vadot reg: 27*8bab661aSEmmanuel Vadot maxItems: 1 28*8bab661aSEmmanuel Vadot 29*8bab661aSEmmanuel Vadot ranges: true 30*8bab661aSEmmanuel Vadot 31*8bab661aSEmmanuel Vadot '#address-cells': 32*8bab661aSEmmanuel Vadot const: 1 33*8bab661aSEmmanuel Vadot 34*8bab661aSEmmanuel Vadot '#size-cells': 35*8bab661aSEmmanuel Vadot const: 1 36*8bab661aSEmmanuel Vadot 37*8bab661aSEmmanuel Vadotrequired: 38*8bab661aSEmmanuel Vadot - compatible 39*8bab661aSEmmanuel Vadot - reg 40*8bab661aSEmmanuel Vadot - ranges 41*8bab661aSEmmanuel Vadot 42*8bab661aSEmmanuel Vadot# The DFX server may expose clocks described as subnodes 43*8bab661aSEmmanuel VadotadditionalProperties: 44*8bab661aSEmmanuel Vadot type: object 45*8bab661aSEmmanuel Vadot 46*8bab661aSEmmanuel Vadotexamples: 47*8bab661aSEmmanuel Vadot - | 48*8bab661aSEmmanuel Vadot 49*8bab661aSEmmanuel Vadot #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) 50*8bab661aSEmmanuel Vadot bus@0 { 51*8bab661aSEmmanuel Vadot reg = <0 0>; 52*8bab661aSEmmanuel Vadot #address-cells = <2>; 53*8bab661aSEmmanuel Vadot #size-cells = <1>; 54*8bab661aSEmmanuel Vadot 55*8bab661aSEmmanuel Vadot dfx-bus@ac000000 { 56*8bab661aSEmmanuel Vadot compatible = "marvell,dfx-server", "simple-bus"; 57*8bab661aSEmmanuel Vadot #address-cells = <1>; 58*8bab661aSEmmanuel Vadot #size-cells = <1>; 59*8bab661aSEmmanuel Vadot ranges = <0 MBUS_ID(0x08, 0x00) 0 0x100000>; 60*8bab661aSEmmanuel Vadot reg = <MBUS_ID(0x08, 0x00) 0 0x100000>; 61*8bab661aSEmmanuel Vadot }; 62*8bab661aSEmmanuel Vadot }; 63