Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * AmigaOne Device Tree Source
0004  *
0005  * Copyright 2008 Gerhard Pircher (gerhard_pircher@gmx.net)
0006  */
0007 
0008 /dts-v1/;
0009 
0010 / {
0011         model = "AmigaOne";
0012         compatible = "eyetech,amigaone";
0013         coherency-off;
0014         #address-cells = <1>;
0015         #size-cells = <1>;
0016 
0017         cpus {
0018                 #cpus = <1>;
0019                 #address-cells = <1>;
0020                 #size-cells = <0>;
0021 
0022                 cpu@0 {
0023                         device_type = "cpu";
0024                         reg = <0>;
0025                         d-cache-line-size = <32>;       // 32 bytes
0026                         i-cache-line-size = <32>;       // 32 bytes
0027                         d-cache-size = <32768>;         // L1, 32K
0028                         i-cache-size = <32768>;         // L1, 32K
0029                         timebase-frequency = <0>;       // 33.3 MHz, from U-boot
0030                         clock-frequency = <0>;          // From U-boot
0031                         bus-frequency = <0>;            // From U-boot
0032                 };
0033         };
0034 
0035         memory {
0036                 device_type = "memory";
0037                 reg = <0 0>;                            // From U-boot
0038         };
0039 
0040         pci@80000000 {
0041                 device_type = "pci";
0042                 compatible = "mai-logic,articia-s";
0043                 bus-frequency = <33333333>;
0044                 bus-range = <0 0xff>;
0045                 ranges = <0x01000000 0 0x00000000 0xfe000000 0 0x00c00000       // PCI I/O
0046                           0x02000000 0 0x80000000 0x80000000 0 0x7d000000       // PCI memory
0047                           0x02000000 0 0x00000000 0xfd000000 0 0x01000000>;     // PCI alias memory (ISA)
0048                 // Configuration address and data register.
0049                 reg = <0xfec00cf8 4
0050                        0xfee00cfc 4>;
0051                 8259-interrupt-acknowledge = <0xfef00000>;
0052                 // Do not define a interrupt-parent here, if there is no
0053                 // interrupt-map property.
0054                 #address-cells = <3>;
0055                 #size-cells = <2>;
0056 
0057                 isa@7 {
0058                         device_type = "isa";
0059                         compatible = "pciclass,0601";
0060                         vendor-id = <0x00001106>;
0061                         device-id = <0x00000686>;
0062                         revision-id = <0x00000010>;
0063                         class-code = <0x00060100>;
0064                         subsystem-id = <0>;
0065                         subsystem-vendor-id = <0>;
0066                         devsel-speed = <0x00000001>;
0067                         min-grant = <0>;
0068                         max-latency = <0>;
0069                         /* First 4k for I/O at 0x0 on PCI mapped to 0x0 on ISA. */
0070                         ranges = <0x00000001 0 0x01000000 0 0x00000000 0x00001000>;
0071                         interrupt-parent = <&i8259>;
0072                         #interrupt-cells = <2>;
0073                         #address-cells = <2>;
0074                         #size-cells = <1>;
0075 
0076                         dma-controller@0 {
0077                                 compatible = "pnpPNP,200";
0078                                 reg = <1 0x00000000 0x00000020
0079                                        1 0x00000080 0x00000010
0080                                        1 0x000000c0 0x00000020>;
0081                         };
0082 
0083                         i8259: interrupt-controller@20 {
0084                                 device_type = "interrupt-controller";
0085                                 compatible = "pnpPNP,000";
0086                                 interrupt-controller;
0087                                 reg = <1 0x00000020 0x00000002
0088                                        1 0x000000a0 0x00000002
0089                                        1 0x000004d0 0x00000002>;
0090                                 reserved-interrupts = <2>;
0091                                 #interrupt-cells = <2>;
0092                         };
0093 
0094                         timer@40 {
0095                                 // Also adds pcspkr to platform devices.
0096                                 compatible = "pnpPNP,100";
0097                                 reg = <1 0x00000040 0x00000020>;
0098                         };
0099 
0100                         8042@60 {
0101                                 device_type = "8042";
0102                                 reg = <1 0x00000060 0x00000001
0103                                        1 0x00000064 0x00000001>;
0104                                 interrupts = <1 3 12 3>;
0105                                 #address-cells = <1>;
0106                                 #size-cells = <0>;
0107 
0108                                 keyboard@0 {
0109                                         compatible = "pnpPNP,303";
0110                                         reg = <0>;
0111                                 };
0112 
0113                                 mouse@1 {
0114                                         compatible = "pnpPNP,f03";
0115                                         reg = <1>;
0116                                 };
0117                         };
0118 
0119                         rtc@70 {
0120                                 compatible = "pnpPNP,b00";
0121                                 reg = <1 0x00000070 0x00000002>;
0122                                 interrupts = <8 3>;
0123                         };
0124 
0125                         serial@3f8 {
0126                                 device_type = "serial";
0127                                 compatible = "pnpPNP,501","pnpPNP,500";
0128                                 reg = <1 0x000003f8 0x00000008>;
0129                                 interrupts = <4 3>;
0130                                 clock-frequency = <1843200>;
0131                                 current-speed = <115200>;
0132                         };
0133 
0134                         serial@2f8 {
0135                                 device_type = "serial";
0136                                 compatible = "pnpPNP,501","pnpPNP,500";
0137                                 reg = <1 0x000002f8 0x00000008>;
0138                                 interrupts = <3 3>;
0139                                 clock-frequency = <1843200>;
0140                                 current-speed = <115200>;
0141                         };
0142 
0143                         parallel@378 {
0144                                 device_type = "parallel";
0145                                 // No ECP support for now, otherwise add "pnpPNP,401".
0146                                 compatible = "pnpPNP,400";
0147                                 reg = <1 0x00000378 0x00000003
0148                                        1 0x00000778 0x00000003>;
0149                         };
0150 
0151                         fdc@3f0 {
0152                                 device_type = "fdc";
0153                                 compatible = "pnpPNP,700";
0154                                 reg = <1 0x000003f0 0x00000008>;
0155                                 interrupts = <6 3>;
0156                                 #address-cells = <1>;
0157                                 #size-cells = <0>;
0158 
0159                                 disk@0 {
0160                                         reg = <0>;
0161                                 };
0162                         };
0163                 };
0164         };
0165 
0166         chosen {
0167                 stdout-path = "/pci@80000000/isa@7/serial@3f8";
0168         };
0169 };