File tree 2 files changed +163
-0
lines changed
meta-asrock/meta-x470d4u/recipes-phosphor/configuration
2 files changed +163
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "Exposes" : [
3
+ {
4
+ "Index" : 0 ,
5
+ "Name" : " 3VSB" ,
6
+ "ScaleFactor" : 0.3979 ,
7
+ "Type" : " ADC"
8
+ },
9
+ {
10
+ "Index" : 1 ,
11
+ "Name" : " 5VSB" ,
12
+ "ScaleFactor" : 0.2683 ,
13
+ "Type" : " ADC"
14
+ },
15
+ {
16
+ "Index" : 2 ,
17
+ "Name" : " VCPU" ,
18
+ "ScaleFactor" : 0.1 ,
19
+ "Type" : " ADC" ,
20
+ "PowerState" : " On"
21
+ },
22
+ {
23
+ "Index" : 3 ,
24
+ "Name" : " VSOC" ,
25
+ "ScaleFactor" : 0.6964 ,
26
+ "Type" : " ADC" ,
27
+ "PowerState" : " On"
28
+ },
29
+ {
30
+ "Index" : 4 ,
31
+ "Name" : " VCCM" ,
32
+ "Type" : " ADC" ,
33
+ "PowerState" : " On"
34
+ },
35
+ {
36
+ "Index" : 5 ,
37
+ "Name" : " APU_VDDP" ,
38
+ "Type" : " ADC" ,
39
+ "PowerState" : " On"
40
+ },
41
+ {
42
+ "Index" : 6 ,
43
+ "Name" : " 1.05V_PROM_S5" ,
44
+ "Type" : " ADC"
45
+ },
46
+ {
47
+ "Index" : 7 ,
48
+ "Name" : " 2.5V_PROM" ,
49
+ "ScaleFactor" : 0.5349 ,
50
+ "Type" : " ADC" ,
51
+ "PowerState" : " On"
52
+ },
53
+ {
54
+ "Index" : 8 ,
55
+ "Name" : " 1.05V_PROM_RUN" ,
56
+ "Type" : " ADC" ,
57
+ "PowerState" : " On"
58
+ },
59
+ {
60
+ "BridgeGpio" : [
61
+ {
62
+ "Name" : " HWM_BAT_EN" ,
63
+ "Polarity" : " High" ,
64
+ "SetupTime" : 0.5
65
+ }
66
+ ],
67
+ "Index" : 9 ,
68
+ "Name" : " BAT" ,
69
+ "ScaleFactor" : 0.3333 ,
70
+ "Type" : " ADC"
71
+ },
72
+ {
73
+ "Index" : 10 ,
74
+ "Name" : " 3V" ,
75
+ "ScaleFactor" : 0.3979 ,
76
+ "Type" : " ADC" ,
77
+ "PowerState" : " On"
78
+ },
79
+ {
80
+ "Index" : 11 ,
81
+ "Name" : " 5V" ,
82
+ "ScaleFactor" : 0.3333 ,
83
+ "Type" : " ADC" ,
84
+ "PowerState" : " On"
85
+ },
86
+ {
87
+ "Index" : 12 ,
88
+ "Name" : " 12V" ,
89
+ "ScaleFactor" : 0.0833 ,
90
+ "Type" : " ADC" ,
91
+ "PowerState" : " On"
92
+ },
93
+ {
94
+ "Index" : 0 ,
95
+ "Name" : " FAN1" ,
96
+ "Type" : " AspeedFan"
97
+ },
98
+ {
99
+ "Index" : 1 ,
100
+ "Name" : " FAN2" ,
101
+ "Type" : " AspeedFan"
102
+ },
103
+ {
104
+ "Index" : 2 ,
105
+ "Name" : " FAN3" ,
106
+ "Type" : " AspeedFan"
107
+ },
108
+ {
109
+ "Index" : 3 ,
110
+ "Name" : " FAN4" ,
111
+ "Type" : " AspeedFan"
112
+ },
113
+ {
114
+ "Index" : 4 ,
115
+ "Name" : " FAN5" ,
116
+ "Type" : " AspeedFan"
117
+ },
118
+ {
119
+ "Index" : 5 ,
120
+ "Name" : " FAN6" ,
121
+ "Type" : " AspeedFan"
122
+ },
123
+ {
124
+ "Name" : " BMC" ,
125
+ "Type" : " BMC"
126
+ },
127
+ {
128
+ "Address" : " 0x2d" ,
129
+ "Bus" : 1 ,
130
+ "Name" : " SYSTIN" ,
131
+ "Name1" : " CPUTIN" ,
132
+ "Name10" : " TSI0_TEMP" ,
133
+ "Name2" : " AUXTIN0" ,
134
+ "Name3" : " AUXTIN1" ,
135
+ "Name4" : " AUXTIN2" ,
136
+ "Name5" : " AUXTIN3" ,
137
+ "Name6" : " PCH_CHIP_CPU_MAX_TEMP" ,
138
+ "Name7" : " PCH_CHIP_TEMP" ,
139
+ "Name8" : " PCH_CPU_TEMP" ,
140
+ "Name9" : " PCH_MCH_TEMP" ,
141
+ "PowerState" : " BiosPost" ,
142
+ "Type" : " NCT6779"
143
+ }
144
+ ],
145
+ "Name" : " ASRock X470D4U" ,
146
+ "Probe" : [
147
+ " xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'X470D4U'})"
148
+ ],
149
+ "Type" : " Board" ,
150
+ "xyz.openbmc_project.Inventory.Decorator.Asset" : {
151
+ "Manufacturer" : " $BOARD_MANUFACTURER" ,
152
+ "Model" : " $BOARD_PRODUCT_NAME" ,
153
+ "PartNumber" : " " ,
154
+ "SerialNumber" : " $BOARD_SERIAL_NUMBER"
155
+ }
156
+ }
Original file line number Diff line number Diff line change
1
+ FILESEXTRAPATHS :append := ":${THISDIR} /${PN} "
2
+ SRC_URI :append = " file://asrock_x470d4u.json \
3
+ "
4
+ do_install :append () {
5
+ install -d ${D} /usr /share /entity -manager /configurations
6
+ install -m 0444 ${WORKDIR} /*. json ${D} /usr /share /entity -manager /configurations
7
+ }
You can’t perform that action at this time.
0 commit comments