|
| 1 | +/* |
| 2 | + * Copyright (c) 2023 Intel Corporation. |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: Apache-2.0 |
| 5 | + */ |
| 6 | + |
| 7 | +#include "skeleton.dtsi" |
| 8 | +#include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h> |
| 9 | +#include <zephyr/dt-bindings/i2c/i2c.h> |
| 10 | +#include <zephyr/dt-bindings/pcie/pcie.h> |
| 11 | + |
| 12 | +/ { |
| 13 | + cpus { |
| 14 | + #address-cells = <1>; |
| 15 | + #size-cells = <0>; |
| 16 | + |
| 17 | + cpu@0 { |
| 18 | + device_type = "cpu"; |
| 19 | + compatible = "intel,alder_lake"; |
| 20 | + d-cache-line-size = <64>; |
| 21 | + reg = <0>; |
| 22 | + }; |
| 23 | + |
| 24 | + }; |
| 25 | + |
| 26 | + dram0: memory@0 { |
| 27 | + device_type = "memory"; |
| 28 | + reg = <0x0 DT_DRAM_SIZE>; |
| 29 | + }; |
| 30 | + |
| 31 | + intc: ioapic@fec00000 { |
| 32 | + compatible = "intel,ioapic"; |
| 33 | + reg = <0xfec00000 0x1000>; |
| 34 | + interrupt-controller; |
| 35 | + #interrupt-cells = <3>; |
| 36 | + }; |
| 37 | + |
| 38 | + pcie0: pcie0 { |
| 39 | + #address-cells = <1>; |
| 40 | + #size-cells = <1>; |
| 41 | + compatible = "intel,pcie"; |
| 42 | + ranges; |
| 43 | + |
| 44 | + smbus0: smbus0 { |
| 45 | + compatible = "intel,pch-smbus"; |
| 46 | + #address-cells = <1>; |
| 47 | + #size-cells = <0>; |
| 48 | + vendor-id = <0x8086>; |
| 49 | + device-id = <0x54a3>; |
| 50 | + interrupts = <16 IRQ_TYPE_LOWEST_LEVEL_LOW 3>; |
| 51 | + interrupt-parent = <&intc>; |
| 52 | + |
| 53 | + status = "okay"; |
| 54 | + }; |
| 55 | + |
| 56 | + uart0: uart0 { |
| 57 | + compatible = "ns16550"; |
| 58 | + |
| 59 | + vendor-id = <0x8086>; |
| 60 | + device-id = <0x54a8>; |
| 61 | + |
| 62 | + clock-frequency = <1843200>; |
| 63 | + current-speed = <115200>; |
| 64 | + reg-shift = <2>; |
| 65 | + |
| 66 | + interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>; |
| 67 | + interrupt-parent = <&intc>; |
| 68 | + |
| 69 | + status = "okay"; |
| 70 | + }; |
| 71 | + }; |
| 72 | + |
| 73 | + soc { |
| 74 | + #address-cells = <1>; |
| 75 | + #size-cells = <1>; |
| 76 | + compatible = "simple-bus"; |
| 77 | + ranges; |
| 78 | + |
| 79 | + uart0_legacy: uart@3f8 { |
| 80 | + compatible = "ns16550"; |
| 81 | + reg = <0x000003f8 0x100>; |
| 82 | + clock-frequency = <1843200>; |
| 83 | + interrupts = <4 IRQ_TYPE_LOWEST_EDGE_RISING 3>; |
| 84 | + interrupt-parent = <&intc>; |
| 85 | + reg-shift = <0>; |
| 86 | + status = "okay"; |
| 87 | + }; |
| 88 | + |
| 89 | + hpet: hpet@fed00000 { |
| 90 | + compatible = "intel,hpet"; |
| 91 | + reg = <0xfed00000 0x400>; |
| 92 | + interrupts = <2 IRQ_TYPE_FIXED_EDGE_RISING 4>; |
| 93 | + interrupt-parent = <&intc>; |
| 94 | + |
| 95 | + status = "okay"; |
| 96 | + }; |
| 97 | + |
| 98 | + counter: counter@70 { |
| 99 | + compatible = "motorola,mc146818"; |
| 100 | + reg = <0x70 0x0D 0x71 0x0D>; |
| 101 | + |
| 102 | + status = "okay"; |
| 103 | + }; |
| 104 | + |
| 105 | + tco_wdt: tco_wdt@400 { |
| 106 | + compatible = "intel,tco-wdt"; |
| 107 | + reg = <0x0400 0x20>; |
| 108 | + }; |
| 109 | + }; |
| 110 | +}; |
0 commit comments