1*833e5d42SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2*833e5d42SEmmanuel Vadot 3*833e5d42SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 4*833e5d42SEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 5*833e5d42SEmmanuel Vadot#include <dt-bindings/clock/raspberrypi,rp1-clocks.h> 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadotpci_ep_bus: pci-ep-bus@1 { 8*833e5d42SEmmanuel Vadot compatible = "simple-bus"; 9*833e5d42SEmmanuel Vadot ranges = <0x00 0x40000000 0x01 0x00 0x00000000 0x00 0x00400000>; 10*833e5d42SEmmanuel Vadot dma-ranges = <0x10 0x00000000 0x43000000 0x10 0x00000000 0x10 0x00000000>; 11*833e5d42SEmmanuel Vadot #address-cells = <2>; 12*833e5d42SEmmanuel Vadot #size-cells = <2>; 13*833e5d42SEmmanuel Vadot 14*833e5d42SEmmanuel Vadot rp1_clocks: clocks@40018000 { 15*833e5d42SEmmanuel Vadot compatible = "raspberrypi,rp1-clocks"; 16*833e5d42SEmmanuel Vadot reg = <0x00 0x40018000 0x0 0x10038>; 17*833e5d42SEmmanuel Vadot #clock-cells = <1>; 18*833e5d42SEmmanuel Vadot clocks = <&clk_rp1_xosc>; 19*833e5d42SEmmanuel Vadot assigned-clocks = <&rp1_clocks RP1_PLL_SYS_CORE>, 20*833e5d42SEmmanuel Vadot <&rp1_clocks RP1_PLL_SYS>, 21*833e5d42SEmmanuel Vadot <&rp1_clocks RP1_PLL_SYS_SEC>, 22*833e5d42SEmmanuel Vadot <&rp1_clocks RP1_CLK_SYS>; 23*833e5d42SEmmanuel Vadot assigned-clock-rates = <1000000000>, // RP1_PLL_SYS_CORE 24*833e5d42SEmmanuel Vadot <200000000>, // RP1_PLL_SYS 25*833e5d42SEmmanuel Vadot <125000000>, // RP1_PLL_SYS_SEC 26*833e5d42SEmmanuel Vadot <200000000>; // RP1_CLK_SYS 27*833e5d42SEmmanuel Vadot }; 28*833e5d42SEmmanuel Vadot 29*833e5d42SEmmanuel Vadot rp1_gpio: pinctrl@400d0000 { 30*833e5d42SEmmanuel Vadot compatible = "raspberrypi,rp1-gpio"; 31*833e5d42SEmmanuel Vadot reg = <0x00 0x400d0000 0x0 0xc000>, 32*833e5d42SEmmanuel Vadot <0x00 0x400e0000 0x0 0xc000>, 33*833e5d42SEmmanuel Vadot <0x00 0x400f0000 0x0 0xc000>; 34*833e5d42SEmmanuel Vadot gpio-controller; 35*833e5d42SEmmanuel Vadot #gpio-cells = <2>; 36*833e5d42SEmmanuel Vadot interrupt-controller; 37*833e5d42SEmmanuel Vadot #interrupt-cells = <2>; 38*833e5d42SEmmanuel Vadot interrupts = <0 IRQ_TYPE_LEVEL_HIGH>, 39*833e5d42SEmmanuel Vadot <1 IRQ_TYPE_LEVEL_HIGH>, 40*833e5d42SEmmanuel Vadot <2 IRQ_TYPE_LEVEL_HIGH>; 41*833e5d42SEmmanuel Vadot }; 42*833e5d42SEmmanuel Vadot}; 43