1// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 3#include <dt-bindings/gpio/gpio.h> 4#include <dt-bindings/interrupt-controller/irq.h> 5#include <dt-bindings/clock/raspberrypi,rp1-clocks.h> 6 7pci_ep_bus: pci-ep-bus@1 { 8 compatible = "simple-bus"; 9 ranges = <0x00 0x40000000 0x01 0x00 0x00000000 0x00 0x00400000>; 10 dma-ranges = <0x10 0x00000000 0x43000000 0x10 0x00000000 0x10 0x00000000>; 11 #address-cells = <2>; 12 #size-cells = <2>; 13 14 rp1_clocks: clocks@40018000 { 15 compatible = "raspberrypi,rp1-clocks"; 16 reg = <0x00 0x40018000 0x0 0x10038>; 17 #clock-cells = <1>; 18 clocks = <&clk_rp1_xosc>; 19 assigned-clocks = <&rp1_clocks RP1_PLL_SYS_CORE>, 20 <&rp1_clocks RP1_PLL_SYS>, 21 <&rp1_clocks RP1_PLL_SYS_SEC>, 22 <&rp1_clocks RP1_CLK_SYS>; 23 assigned-clock-rates = <1000000000>, // RP1_PLL_SYS_CORE 24 <200000000>, // RP1_PLL_SYS 25 <125000000>, // RP1_PLL_SYS_SEC 26 <200000000>; // RP1_CLK_SYS 27 }; 28 29 rp1_gpio: pinctrl@400d0000 { 30 compatible = "raspberrypi,rp1-gpio"; 31 reg = <0x00 0x400d0000 0x0 0xc000>, 32 <0x00 0x400e0000 0x0 0xc000>, 33 <0x00 0x400f0000 0x0 0xc000>; 34 gpio-controller; 35 #gpio-cells = <2>; 36 interrupt-controller; 37 #interrupt-cells = <2>; 38 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>, 39 <1 IRQ_TYPE_LEVEL_HIGH>, 40 <2 IRQ_TYPE_LEVEL_HIGH>; 41 }; 42 43 rp1_eth: ethernet@40100000 { 44 compatible = "raspberrypi,rp1-gem"; 45 reg = <0x00 0x40100000 0x0 0x4000>; 46 interrupts = <6 IRQ_TYPE_LEVEL_HIGH>; 47 clocks = <&rp1_clocks RP1_CLK_SYS>, 48 <&rp1_clocks RP1_CLK_SYS>, 49 <&rp1_clocks RP1_CLK_ETH>, 50 <&rp1_clocks RP1_CLK_ETH_TSU>; 51 clock-names = "pclk", "hclk", "tx_clk", "tsu_clk"; 52 local-mac-address = [00 00 00 00 00 00]; 53 status = "disabled"; 54 55 #address-cells = <1>; 56 #size-cells = <0>; 57 }; 58 59 rp1_usb0: usb@40200000 { 60 compatible = "snps,dwc3"; 61 reg = <0x00 0x40200000 0x0 0x100000>; 62 interrupts = <31 IRQ_TYPE_EDGE_RISING>; 63 dr_mode = "host"; 64 usb3-lpm-capable; 65 snps,dis_rxdet_inp3_quirk; 66 snps,parkmode-disable-hs-quirk; 67 snps,parkmode-disable-ss-quirk; 68 snps,tx-max-burst = /bits/ 8 <8>; 69 snps,tx-thr-num-pkt = /bits/ 8 <2>; 70 status = "disabled"; 71 }; 72 73 rp1_usb1: usb@40300000 { 74 compatible = "snps,dwc3"; 75 reg = <0x00 0x40300000 0x0 0x100000>; 76 interrupts = <36 IRQ_TYPE_EDGE_RISING>; 77 dr_mode = "host"; 78 usb3-lpm-capable; 79 snps,dis_rxdet_inp3_quirk; 80 snps,parkmode-disable-hs-quirk; 81 snps,parkmode-disable-ss-quirk; 82 snps,tx-max-burst = /bits/ 8 <8>; 83 snps,tx-thr-num-pkt = /bits/ 8 <2>; 84 status = "disabled"; 85 }; 86}; 87