hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
....@@ -26,6 +26,16 @@
2626 no-map;
2727 reg = <0x5f000000 0x01000000>; /* 16M */
2828 };
29
+
30
+ coldfire_memory: codefire_memory@5ee00000 {
31
+ reg = <0x5ee00000 0x00200000>;
32
+ no-map;
33
+ };
34
+
35
+ flash_memory: region@5c000000 {
36
+ no-map;
37
+ reg = <0x5C000000 0x02000000>; /* 32MB */
38
+ };
2939 };
3040
3141 leds {
....@@ -42,6 +52,22 @@
4252 identify {
4353 gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>;
4454 };
55
+ };
56
+
57
+ fsi: gpio-fsi {
58
+ compatible = "aspeed,ast2400-cf-fsi-master", "fsi-master";
59
+ #address-cells = <2>;
60
+ #size-cells = <0>;
61
+
62
+ memory-region = <&coldfire_memory>;
63
+ aspeed,sram = <&sram>;
64
+ aspeed,cvic = <&cvic>;
65
+
66
+ clock-gpios = <&gpio ASPEED_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
67
+ data-gpios = <&gpio ASPEED_GPIO(A, 5) GPIO_ACTIVE_HIGH>;
68
+ mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
69
+ enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
70
+ trans-gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
4571 };
4672
4773 gpio-keys {
....@@ -61,6 +87,7 @@
6187 status = "okay";
6288 m25p,fast-read;
6389 label = "bmc";
90
+ spi-max-frequency = <50000000>;
6491 #include "openbmc-flash-layout.dtsi"
6592 };
6693 };
....@@ -73,6 +100,7 @@
73100 flash@0 {
74101 status = "okay";
75102 m25p,fast-read;
103
+ spi-max-frequency = <50000000>;
76104 label = "pnor";
77105 };
78106 };
....@@ -143,6 +171,11 @@
143171
144172 &i2c3 {
145173 status = "okay";
174
+
175
+ occ-hwmon@50 {
176
+ compatible = "ibm,p8-occ-hwmon";
177
+ reg = <0x50>;
178
+ };
146179 };
147180
148181 &i2c4 {
....@@ -167,6 +200,12 @@
167200
168201 &ibt {
169202 status = "okay";
203
+};
204
+
205
+&lpc_ctrl {
206
+ status = "okay";
207
+ memory-region = <&flash_memory>;
208
+ flash = <&spi>;
170209 };
171210
172211 &gpio {
....@@ -303,13 +342,6 @@
303342 line-name = "SYS_PWROK_BMC";
304343 };
305344
306
- pin_gpio_h6 {
307
- gpio-hog;
308
- gpios = <ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
309
- output-high;
310
- line-name = "SCM1_FSI0_DATA_EN";
311
- };
312
-
313345 pin_gpio_h7 {
314346 gpio-hog;
315347 gpios = <ASPEED_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
....@@ -317,3 +349,25 @@
317349 line-name = "BMC_TPM_INT_N";
318350 };
319351 };
352
+
353
+&fsi {
354
+ cfam@0,0 {
355
+ reg = <0 0>;
356
+ #address-cells = <1>;
357
+ #size-cells = <1>;
358
+ chip-id = <0>;
359
+
360
+ scom@1000 {
361
+ compatible = "ibm,fsi2pib";
362
+ reg = <0x1000 0x400>;
363
+ };
364
+
365
+ fsi_hub0: hub@3400 {
366
+ compatible = "ibm,fsi-master-hub";
367
+ reg = <0x3400 0x400>;
368
+ #address-cells = <2>;
369
+ #size-cells = <0>;
370
+ no-scan-on-init;
371
+ };
372
+ };
373
+};