15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/pci/samsung,exynos-pcie.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: Samsung SoC series PCIe Host Controller 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Marek Szyprowski <m.szyprowski@samsung.com> 115def4c47SEmmanuel Vadot - Jaehoon Chung <jh80.chung@samsung.com> 125def4c47SEmmanuel Vadot 135def4c47SEmmanuel Vadotdescription: |+ 145def4c47SEmmanuel Vadot Exynos5433 SoC PCIe host controller is based on the Synopsys DesignWare 155def4c47SEmmanuel Vadot PCIe IP and thus inherits all the common properties defined in 16354d7675SEmmanuel Vadot snps,dw-pcie.yaml. 175def4c47SEmmanuel Vadot 185def4c47SEmmanuel VadotallOf: 19354d7675SEmmanuel Vadot - $ref: /schemas/pci/snps,dw-pcie.yaml# 205def4c47SEmmanuel Vadot 215def4c47SEmmanuel Vadotproperties: 225def4c47SEmmanuel Vadot compatible: 235def4c47SEmmanuel Vadot const: samsung,exynos5433-pcie 245def4c47SEmmanuel Vadot 255def4c47SEmmanuel Vadot reg: 265def4c47SEmmanuel Vadot items: 275def4c47SEmmanuel Vadot - description: Data Bus Interface (DBI) registers. 285def4c47SEmmanuel Vadot - description: External Local Bus interface (ELBI) registers. 295def4c47SEmmanuel Vadot - description: PCIe configuration space region. 305def4c47SEmmanuel Vadot 315def4c47SEmmanuel Vadot reg-names: 325def4c47SEmmanuel Vadot items: 335def4c47SEmmanuel Vadot - const: dbi 345def4c47SEmmanuel Vadot - const: elbi 355def4c47SEmmanuel Vadot - const: config 365def4c47SEmmanuel Vadot 375def4c47SEmmanuel Vadot interrupts: 385def4c47SEmmanuel Vadot maxItems: 1 395def4c47SEmmanuel Vadot 405def4c47SEmmanuel Vadot clocks: 415def4c47SEmmanuel Vadot items: 425def4c47SEmmanuel Vadot - description: PCIe bridge clock 435def4c47SEmmanuel Vadot - description: PCIe bus clock 445def4c47SEmmanuel Vadot 455def4c47SEmmanuel Vadot clock-names: 465def4c47SEmmanuel Vadot items: 475def4c47SEmmanuel Vadot - const: pcie 485def4c47SEmmanuel Vadot - const: pcie_bus 495def4c47SEmmanuel Vadot 505def4c47SEmmanuel Vadot phys: 515def4c47SEmmanuel Vadot maxItems: 1 525def4c47SEmmanuel Vadot 535def4c47SEmmanuel Vadot vdd10-supply: 545def4c47SEmmanuel Vadot description: 555def4c47SEmmanuel Vadot Phandle to a regulator that provides 1.0V power to the PCIe block. 565def4c47SEmmanuel Vadot 575def4c47SEmmanuel Vadot vdd18-supply: 585def4c47SEmmanuel Vadot description: 595def4c47SEmmanuel Vadot Phandle to a regulator that provides 1.8V power to the PCIe block. 605def4c47SEmmanuel Vadot 615def4c47SEmmanuel Vadot num-lanes: 625def4c47SEmmanuel Vadot const: 1 635def4c47SEmmanuel Vadot 645def4c47SEmmanuel Vadot num-viewport: 655def4c47SEmmanuel Vadot const: 3 665def4c47SEmmanuel Vadot 675def4c47SEmmanuel Vadotrequired: 685def4c47SEmmanuel Vadot - reg 695def4c47SEmmanuel Vadot - reg-names 705def4c47SEmmanuel Vadot - interrupts 715def4c47SEmmanuel Vadot - "#address-cells" 725def4c47SEmmanuel Vadot - "#size-cells" 735def4c47SEmmanuel Vadot - "#interrupt-cells" 745def4c47SEmmanuel Vadot - interrupt-map 755def4c47SEmmanuel Vadot - interrupt-map-mask 765def4c47SEmmanuel Vadot - ranges 775def4c47SEmmanuel Vadot - bus-range 785def4c47SEmmanuel Vadot - device_type 795def4c47SEmmanuel Vadot - num-lanes 805def4c47SEmmanuel Vadot - num-viewport 815def4c47SEmmanuel Vadot - clocks 825def4c47SEmmanuel Vadot - clock-names 835def4c47SEmmanuel Vadot - phys 845def4c47SEmmanuel Vadot - vdd10-supply 855def4c47SEmmanuel Vadot - vdd18-supply 865def4c47SEmmanuel Vadot 875def4c47SEmmanuel VadotunevaluatedProperties: false 885def4c47SEmmanuel Vadot 895def4c47SEmmanuel Vadotexamples: 905def4c47SEmmanuel Vadot - | 915def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 925def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 935def4c47SEmmanuel Vadot #include <dt-bindings/clock/exynos5433.h> 945def4c47SEmmanuel Vadot 955def4c47SEmmanuel Vadot pcie: pcie@15700000 { 965def4c47SEmmanuel Vadot compatible = "samsung,exynos5433-pcie"; 975def4c47SEmmanuel Vadot reg = <0x15700000 0x1000>, <0x156b0000 0x1000>, <0x0c000000 0x1000>; 985def4c47SEmmanuel Vadot reg-names = "dbi", "elbi", "config"; 995def4c47SEmmanuel Vadot #address-cells = <3>; 1005def4c47SEmmanuel Vadot #size-cells = <2>; 1015def4c47SEmmanuel Vadot #interrupt-cells = <1>; 1025def4c47SEmmanuel Vadot device_type = "pci"; 1035def4c47SEmmanuel Vadot interrupts = <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>; 1045def4c47SEmmanuel Vadot clocks = <&cmu_fsys CLK_PCIE>, <&cmu_fsys CLK_PCLK_PCIE_PHY>; 1055def4c47SEmmanuel Vadot clock-names = "pcie", "pcie_bus"; 1065def4c47SEmmanuel Vadot phys = <&pcie_phy>; 1075def4c47SEmmanuel Vadot pinctrl-0 = <&pcie_bus &pcie_wlanen>; 1085def4c47SEmmanuel Vadot pinctrl-names = "default"; 1095def4c47SEmmanuel Vadot num-lanes = <1>; 1105def4c47SEmmanuel Vadot num-viewport = <3>; 1115def4c47SEmmanuel Vadot bus-range = <0x00 0xff>; 1125def4c47SEmmanuel Vadot ranges = <0x81000000 0 0 0x0c001000 0 0x00010000>, 1135def4c47SEmmanuel Vadot <0x82000000 0 0x0c011000 0x0c011000 0 0x03feefff>; 1145def4c47SEmmanuel Vadot vdd10-supply = <&ldo6_reg>; 1155def4c47SEmmanuel Vadot vdd18-supply = <&ldo7_reg>; 1165def4c47SEmmanuel Vadot interrupt-map-mask = <0 0 0 0>; 1175def4c47SEmmanuel Vadot interrupt-map = <0 0 0 0 &gic GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>; 1185def4c47SEmmanuel Vadot }; 1195def4c47SEmmanuel Vadot... 120