1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/bus/arm,integrator-ap-lm.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Integrator/AP Logic Module extension bus 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Linus Walleij <linusw@kernel.org> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotdescription: The Integrator/AP is a prototyping platform and as such has a 13*c66ec88fSEmmanuel Vadot site for stacking up to four logic modules (LM) designed specifically for 14*c66ec88fSEmmanuel Vadot use with this platform. A special system controller register can be read to 15*c66ec88fSEmmanuel Vadot determine if a logic module is connected at index 0, 1, 2 or 3. The logic 16*c66ec88fSEmmanuel Vadot module connector is described in this binding. The logic modules per se 17*c66ec88fSEmmanuel Vadot then have their own specific per-module bindings and they will be described 18*c66ec88fSEmmanuel Vadot as subnodes under this logic module extension bus. 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadotproperties: 21*c66ec88fSEmmanuel Vadot "#address-cells": 22*c66ec88fSEmmanuel Vadot const: 1 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot "#size-cells": 25*c66ec88fSEmmanuel Vadot const: 1 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot compatible: 28*c66ec88fSEmmanuel Vadot items: 29*c66ec88fSEmmanuel Vadot - const: arm,integrator-ap-lm 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot ranges: true 32*c66ec88fSEmmanuel Vadot dma-ranges: true 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel VadotpatternProperties: 35*c66ec88fSEmmanuel Vadot "^bus(@[0-9a-f]*)?$": 36*c66ec88fSEmmanuel Vadot description: Nodes on the Logic Module bus represent logic modules 37*c66ec88fSEmmanuel Vadot and are named with bus. The first module is at 0xc0000000, the second 38*c66ec88fSEmmanuel Vadot at 0xd0000000 and so on until the top of the memory of the system at 39*c66ec88fSEmmanuel Vadot 0xffffffff. All information about the memory used by the module is 40*c66ec88fSEmmanuel Vadot in ranges and dma-ranges. 41*c66ec88fSEmmanuel Vadot type: object 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot required: 44*c66ec88fSEmmanuel Vadot - compatible 45*c66ec88fSEmmanuel Vadot 46*c66ec88fSEmmanuel Vadotrequired: 47*c66ec88fSEmmanuel Vadot - compatible 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel Vadotexamples: 50*c66ec88fSEmmanuel Vadot - | 51*c66ec88fSEmmanuel Vadot bus@c0000000 { 52*c66ec88fSEmmanuel Vadot compatible = "arm,integrator-ap-lm"; 53*c66ec88fSEmmanuel Vadot #address-cells = <1>; 54*c66ec88fSEmmanuel Vadot #size-cells = <1>; 55*c66ec88fSEmmanuel Vadot ranges = <0xc0000000 0xc0000000 0x40000000>; 56*c66ec88fSEmmanuel Vadot dma-ranges; 57*c66ec88fSEmmanuel Vadot 58*c66ec88fSEmmanuel Vadot bus@c0000000 { 59*c66ec88fSEmmanuel Vadot compatible = "simple-bus"; 60*c66ec88fSEmmanuel Vadot ranges = <0x00000000 0xc0000000 0x10000000>; 61*c66ec88fSEmmanuel Vadot /* The Logic Modules sees the Core Module 0 RAM @80000000 */ 62*c66ec88fSEmmanuel Vadot dma-ranges = <0x00000000 0x80000000 0x10000000>; 63*c66ec88fSEmmanuel Vadot #address-cells = <1>; 64*c66ec88fSEmmanuel Vadot #size-cells = <1>; 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot serial@100000 { 67*c66ec88fSEmmanuel Vadot compatible = "arm,pl011", "arm,primecell"; 68*c66ec88fSEmmanuel Vadot reg = <0x00100000 0x1000>; 69*c66ec88fSEmmanuel Vadot interrupts-extended = <&impd1_vic 1>; 70*c66ec88fSEmmanuel Vadot }; 71*c66ec88fSEmmanuel Vadot 72*c66ec88fSEmmanuel Vadot impd1_vic: interrupt-controller@3000000 { 73*c66ec88fSEmmanuel Vadot compatible = "arm,pl192-vic"; 74*c66ec88fSEmmanuel Vadot interrupt-controller; 75*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 76*c66ec88fSEmmanuel Vadot reg = <0x03000000 0x1000>; 77*c66ec88fSEmmanuel Vadot valid-mask = <0x00000bff>; 78*c66ec88fSEmmanuel Vadot interrupts-extended = <&pic 9>; 79*c66ec88fSEmmanuel Vadot }; 80*c66ec88fSEmmanuel Vadot }; 81*c66ec88fSEmmanuel Vadot }; 82*c66ec88fSEmmanuel Vadot 83*c66ec88fSEmmanuel VadotadditionalProperties: false 84